Debugging problem

P

proit_123

I am working on a windows forms application and have the following
problem.

When i put a break point in my code and execute the application, i can
not able to stop the execution at the break point even though i am
running the application in debug mode.

Can somebody please suggest a way to achieve this?


Thanks,
Sunil Kiran B.
 
C

cp

Sometimes you can get this if the debug symbols held in the pdb files
aren't up to date.
Try removing the bin folder and rebuilding.
You should get a question mark in your debug line if it can't load the
symbols.

cp
 
G

Guest

Are u sure that you reach your breakpoint when app is run?
Try to write some info to the console after your breakpoint , to check if
it's reachable

--
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

How can you be sure you get to that code? Why don't you put a MessageBox in
the previous line ?

Also see cp's post about removing the pdb file
 

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