Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

user breakpoint called from code at 0x....

43 views
Skip to first unread message

Richard Hao

unread,
Dec 20, 1999, 3:00:00 AM12/20/99
to
Hi there,

Right now I have a problem when I debug my project.
Each time I start to debug my project (I do not set any breakpoint yet), a
message popup says "user breakpoint called from code at 0x77f762e8" which
shows in assembly code like "77F762E8 CC int 3" and I never set breakpoint
here.
When I hit "go" and it come to here again. I never reached the point I need
to look at.

Could someone help out here?

Thanks.

John Dallman

unread,
Dec 20, 1999, 3:00:00 AM12/20/99
to
In article <uWRyR#xS$GA.255@cppssbbsa05>, rich...@fujiamerica.com
(Richard Hao) wrote:

> Each time I start to debug my project (I do not set any breakpoint
> yet), a message popup says "user breakpoint called from code at
> 0x77f762e8" which shows in assembly code like "77F762E8 CC int 3"
> and I never set breakpoint here.

Either you've corrupted your program, or you have bad memory, or most
likely, your program is getting confused, and calling or jumping to some
random location. The processor then charges merrily along until it hits
something that makes it stop. A GPF is the commonest thing; you've hit a
different case.

Put breakpoints in at the top level of control in your program and
divide-and-conquer until you find the place where it goes mad.

Best of luck.

---
John Dallman j...@cix.co.uk

Jay Bazuzi

unread,
Dec 20, 1999, 3:00:00 AM12/20/99
to
On Windows NT, when you launch a program under the debugger the OS uses a
special "debug heap". This heap will fire a breakpoint whenever it it
detects memory errors, including buffer overruns, underruns, double frees,
and writing to freed memory. Chances are that's what you're seeing here.
Look in the output window for the address of the allocation that was
corrupted.

If you want to ignore the problem (bad idea), launch the program outside of
the debugger and attach to it.

Richard Hao <rich...@fujiamerica.com> wrote in message
news:uWRyR#xS$GA.255@cppssbbsa05...


> Hi there,
>
> Right now I have a problem when I debug my project.

> Each time I start to debug my project (I do not set any breakpoint yet), a
> message popup says "user breakpoint called from code at 0x77f762e8" which
> shows in assembly code like "77F762E8 CC int 3" and I never set breakpoint
> here.

Raj Rangarajan

unread,
Dec 20, 1999, 3:00:00 AM12/20/99
to
Installing the symbols for nt (specifically ntdll.dll) would help - the
callstack will show that it is in fact the heap manager -

I'll get you yet bazuzi boy


Jay Bazuzi <jba...@yahoo.com> wrote in message
news:83mcre$ooh$0...@216.39.152.112...

0 new messages