Debugging with Command window in Immed mode

G

Guest

Hi,

Stupid question here but I get the following error when debugging:

'debug.writeline' is not declared or the module containing it is not loaded
in the debugging session.
I can however use ? to get a variables values or execute a command.
Are we ale to use debug.writeline with asp.net apps when stepping through
code?

Thanks,

Chris
 
S

Scott Allen

Debug.WriteLine text should appear int he Output window of VS.NET, if
it is compiled into your code.

Apologies if this is not what you are asking about ...
 
G

Guest

Thanks, but I was wondering why I can't use debug.writeline in the command
window when in immed mode.
 
S

Scott Allen

I think the immed window is looking for an expression that returns a
value - but WriteLine returns void. (This is just a hypothesis of
mine, however).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top