Debugging with Command window in Immed mode

Discussion in 'ASP .Net' started by Guest, Feb 28, 2005.

  1. Guest

    Guest Guest


    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 apps when stepping through


    Guest, Feb 28, 2005
    1. Advertisements

  2. Guest

    Scott Allen Guest

    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 ...
    Scott Allen, Feb 28, 2005
    1. Advertisements

  3. Guest

    Guest Guest

    Thanks, but I was wondering why I can't use debug.writeline in the command
    window when in immed mode.
    Guest, Feb 28, 2005
  4. Guest

    Scott Allen Guest

    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).
    Scott Allen, Feb 28, 2005
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.