BreakPoints ignored

D

David D Webb

I am working with Visual Studio and the Pocket PC 2003 emulator and trying
to set a breakpoint in a class. But the breakpoint never stops the
execution. The build is set to debug.

I press F5 to debug - the application is built and deployed with no
problem - the app starts automatically on the emulator. I run the app but
the breakpoint never hits. If an exception occurs, the immediates window
and stack are available as they should be.

I set the breakpoint by clicking in the left margin and the red dot shows up
with the line highlighted. I can look at the properties of the breakpoint
and it looks fine - the hit count is 'break always' and the condition is
'none'. I have tried setting breakpoints all over the application in
various classes but none work. I have a message box on the line before the
breakpoint so I know the code is getting called.

Anything that would cause this? I've read through the docs and searched the
ng, but can't find anything.

-Dave
 
C

Chris Tacke, eMVP

Is this by chance a custom control? If you have the control DLL compiled
and referenced in another location, it will try to use it rather than the
project code.

-Chris
 
T

Tom Krueger [MSFT]

Hi,

About once a month this similar situation happens to me as well. I haven't
yet tracked down what is the cause, however, to solve it I restart Visual
Studio and Build the Solution. That takes care of my problem, however,
their is a good chance these are different issues. If that doesn't work, we
can work out you sending me the project if possible, send me an email
through http://weblogs.asp.net/tom_krueger/contact.aspx.

Please post if you figure it out.

Good luck,

Tom


--
Tom Krueger
Microsoft Corporation
Program Manager
http://weblogs.asp.net/tom_krueger

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
D

David D Webb

It was something with the saved image on the emulator. I did a hard reset
of the emulator, then reinstalled SP2, SQLCE, and OpenNetCF, and everything
works fine now.

Thanks/Dave
 

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