PC Review


Reply
Thread Tools Rate Thread

BreakPoints ignored

 
 
David D Webb
Guest
Posts: n/a
 
      20th Aug 2004
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


 
Reply With Quote
 
 
 
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      20th Aug 2004
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


"David D Webb" <(E-Mail Removed)> wrote in message
news:u$Uhu%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
David D Webb
Guest
Posts: n/a
 
      20th Aug 2004
No, just a straight app. Not even using any custom controls yet.

-Dave


"Chris Tacke, eMVP" <ctacke[at]OpenNETCF_dot_org> wrote in message
news:(E-Mail Removed)...
> 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
>
>
> "David D Webb" <(E-Mail Removed)> wrote in message
> news:u$Uhu%(E-Mail Removed)...
>> 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
>>
>>

>
>



 
Reply With Quote
 
Tom Krueger [MSFT]
Guest
Posts: n/a
 
      20th Aug 2004
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


"David D Webb" <(E-Mail Removed)> wrote in message
news:u$Uhu%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
David D Webb
Guest
Posts: n/a
 
      23rd Aug 2004
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

"Tom Krueger [MSFT]" <a-(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> 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
>
>
> "David D Webb" <(E-Mail Removed)> wrote in message
> news:u$Uhu%(E-Mail Removed)...
>> 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
>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Breakpoints in VBA David Microsoft Access VBA Modules 5 21st Jan 2009 07:50 AM
Breakpoints, phantom breakpoints =?Utf-8?B?VHlsZW5kYWw=?= Microsoft Access VBA Modules 1 18th Jun 2005 08:34 PM
Breakpoints not triggering, have ? in breakpoints Jozef Microsoft VB .NET 2 11th Jun 2005 09:48 PM
Breakpoints Laurel Microsoft Access Getting Started 1 26th Jan 2004 12:04 AM
VS.net breakpoints Dave Microsoft ASP .NET 3 4th Dec 2003 04:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:11 PM.