Debugging with Command window in Immed mode

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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 ...
 
Thanks, but I was wondering why I can't use debug.writeline in the command
window when in immed mode.
 
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).
 
Back
Top