all groups > visual studio .net general > january 2007 >
You're in the

visual studio .net general

group:

Unable to debug in Visual Studio 2005


Unable to debug in Visual Studio 2005 Learner
1/27/2007 11:10:42 AM
visual studio .net general:
Hi there,

I am doing a test app in VS 2005 using C # and for some reason it
doesn't start the debugging.

This is how I am trying to debug the app...

1).I put the debugging point (the red big point) on the left side of
the line in the code behind page.
2).Hit F5

but for some reason it doesn't stop at the debugging point where I
expect it to stop with a yellow line.

Am I missing any setting kind of thing or some thing else?

Please help.


Thanks in advance,
-L
Re: Unable to debug in Visual Studio 2005 Wayne Hartell
2/1/2007 4:04:05 PM
Hi there,

Few questions...

Are you running Release or Debug? You should still be able to hit break
points in Release, although in my experience the behavior can sometimes be
dubious even with debug information available.

Where is your break point? Is it in a location where the code will
definitely execute? Try putting one at the program entry point. If you don't
hit that then you know that something else is up.

Should be very easy to hit the BP. Just fire up VS.Net, create a new project
(let's say C# Windows Application), put a break point at
InitializeComponent() in Form1 and hit F5.

Regards,
Wayne.



[quoted text, click to view]

AddThis Social Bookmark Button