Selecting Debug Mode

C

Crazy Cat

The documentation says that debug mode is selected automatically by
selecting start from the debug menu. However I suspect that that is
not happening in my case.

I don't see any output from any of my debug.print statements in the
output window, and the attached database for my application is being
copied to the release bin, not the debug bin. This tells me that my
application is running in release mode -- also I notice that when I go
to project properties and select the Compile tab I notice that the
dropdown contains a selection for Active (Release).

How the hell do I get my app to run in debug mode, or am I missing
something?

Help please...
 
T

Tom Shelton

The documentation says that debug mode is selected automatically by
selecting start from the debug menu. However I suspect that that is
not happening in my case.

I don't see any output from any of my debug.print statements in the
output window, and the attached database for my application is being
copied to the release bin, not the debug bin. This tells me that my
application is running in release mode -- also I notice that when I go
to project properties and select the Compile tab I notice that the
dropdown contains a selection for Active (Release).

How the hell do I get my app to run in debug mode, or am I missing
something?

Help please...

Do you not have the little drop down box that has the word Release in
you tool bar? If you drop it down it should say Debug. Select it.

If you don't have that drop down, then you can go to the build menu,
select configuration manager, and set the build mode there.
 
J

Jack Jackson

The documentation says that debug mode is selected automatically by
selecting start from the debug menu. However I suspect that that is
not happening in my case.

I don't see any output from any of my debug.print statements in the
output window, and the attached database for my application is being
copied to the release bin, not the debug bin. This tells me that my
application is running in release mode -- also I notice that when I go
to project properties and select the Compile tab I notice that the
dropdown contains a selection for Active (Release).

How the hell do I get my app to run in debug mode, or am I missing
something?

Help please...

There are two separate things, whether your app is compiled in Debug
mode, and whether something is run under the debugger.

To compile in Debug mode you need to change the mode in the Compile
tab of the project properties to Debug and recompile. You may need to
set (for VS2005, other versions may be different) Tools -> Options ->
Projects and Solutions, "Show advanced build configurations".
 
C

Crazy Cat

Do you not have the little drop down box that has the word Release in
you tool bar? If you drop it down it should say Debug. Select it.

If you don't have that drop down, then you can go to the build menu,
select configuration manager, and set the build mode there.

Yep, that was it -- under the build menu / configuration manager.
Documentation led me way astray.

Thanks Tom.

Crazy
 

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

Top