473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Debugging with Command window in Immed mode

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
Nov 19 '05 #1
3 2404
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
http://www.OdeToCode.com/blogs/scott/

On Sun, 27 Feb 2005 21:35:02 -0800, "Chris Lane"
<Ch*******@discussions.microsoft.com> wrote:
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


Nov 19 '05 #2
Thanks, but I was wondering why I can't use debug.writeline in the command
window when in immed mode.

"Scott Allen" wrote:
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
http://www.OdeToCode.com/blogs/scott/

On Sun, 27 Feb 2005 21:35:02 -0800, "Chris Lane"
<Ch*******@discussions.microsoft.com> wrote:
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


Nov 19 '05 #3
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
http://www.OdeToCode.com/blogs/scott/

On Mon, 28 Feb 2005 10:11:02 -0800, "Chris Lane"
<Ch*******@discussions.microsoft.com> wrote:
Thanks, but I was wondering why I can't use debug.writeline in the command
window when in immed mode.


Nov 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: juzan | last post by:
hi i have this piece of code but it never shows the ex.tostring in the command or immed window. how do i see it? this is in a class public void getTeachers() { try
2
by: hleewood | last post by:
I'm using VS 2003, VB.Net. For no apparent reason the Command Window no longer functions. It doesn't auto-complete and doesn't recognize any syntax.
4
by: Flip | last post by:
When I'm trying to debug an app in VS, I'm trying to get the value of a variable by typing out a question mark and then the variable name. But when I do that I get an error from the Output Window....
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
2
by: James | last post by:
I start my ASP.NET application with Debugging. I set a breakpoint for a certain line that references a DataTable. I open the immediate window and do: ? dt.Rows.Count This used to work, now...
4
by: cj | last post by:
I run my programs with F5. I can use F11 to step through them. But, if it moves to another class or something suddenly it just runs w/o asking or telling me. I want it to continue making me...
2
jwwicks
by: jwwicks | last post by:
C/C++ Programs and Debugging in Linux This tutorial will give you a basic idea how to debug a program in Linux using GDB. As you are aware Visual Studio doesn’t run on Linux so you have to use...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.