hi all,

I'm debugging a stream driver in PB5.0.
I set break point in ***_init and ***_open functions but it just
ignored all of the break points and ran through the programs. I'm sure
the driver has been loaded already since the debug message has been
printed out. By the way, when I set break point for it, it is a pink
circle.

How to solve the problem?

Thanks in advance!!

Re: Break Point doesn't Work by alext

alext
Mon Nov 27 23:58:26 CST 2006


campos wrote:
> hi all,
>
> I'm debugging a stream driver in PB5.0.
> I set break point in ***_init and ***_open functions but it just
> ignored all of the break points and ran through the programs. I'm sure
> the driver has been loaded already since the debug message has been
> printed out. By the way, when I set break point for it, it is a pink
> circle.
>
> How to solve the problem?
>
> Thanks in advance!!

Just to check the basics, you are trying this with a debug build right?


Re: Break Point doesn't Work by campos

campos
Tue Nov 28 00:17:41 CST 2006

yes.

I selected "debug" from the beginning.



"alext@idxonline.com =D0=B4=B5=C0=A3=BA
"
> campos wrote:
> > hi all,
> >
> > I'm debugging a stream driver in PB5.0.
> > I set break point in ***_init and ***_open functions but it just
> > ignored all of the break points and ran through the programs. I'm sure
> > the driver has been loaded already since the debug message has been
> > printed out. By the way, when I set break point for it, it is a pink
> > circle.
> >
> > How to solve the problem?
> >
> > Thanks in advance!!
>
> Just to check the basics, you are trying this with a debug build right?


Re: Break Point doesn't Work by Sue

Sue
Tue Nov 28 10:58:12 CST 2006

Actually contrary to common belief, you do NOT need a debug build in order
to use the debugger. "Debug" turns off compiler optimizations so it's more
debuggable, but you can debug release builds as well. You just need to make
sure you turn on debugger support (IMGNODEBUGGER turned off). I put some
tips for troubleshooting breakpoint problems on
http://blogs.msdn.com/ce_base/archive/2005/11/30/498553.aspx.

Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________



Re: Break Point doesn't Work by campos

campos
Tue Nov 28 19:37:23 CST 2006

Thanks Sue,

I checked my environment according to your tips.
I found that it was "Bad source path mapping" problem.

Now breakpoint turns to red, and it does work. :)


"Sue Loh [MS] =D0=B4=B5=C0=A3=BA
"
> Actually contrary to common belief, you do NOT need a debug build in order
> to use the debugger. "Debug" turns off compiler optimizations so it's mo=
re
> debuggable, but you can debug release builds as well. You just need to m=
ake
> sure you turn on debugger support (IMGNODEBUGGER turned off). I put some
> tips for troubleshooting breakpoint problems on
> http://blogs.msdn.com/ce_base/archive/2005/11/30/498553.aspx.
>
> Sue
> sloh@microsoft.com (remove "online" from reply-to address)
> http://blogs.msdn.com/ce_base/
> _____________________________________________________________
> This posting is provided "AS IS" with no warranties, and confers no right=
s=2E
> _____________________________________________________________