How to get rid of an exception 80000003?

When I run my program (admittedly, it was built in debug mode), I get the error "External exception 80000003".

According to Win32 exception / exception exception errors , this means 0x80000003 EXCEPTION_BREAKPOINT A breakpoint was encountered.

However, there are no breakpoints in the IDE, and I run it outside of the IDE.

Yes, I have the correct executable. I deleted all the breakpoints, cleared the project and rebuilt it, but still this is a dialog box. I even deleted the .exe, again built, saw that it appeared where it was expected. Check the timestamp for .exe. I added a FromCreate () message box and saw this, plus "External Exception 80000003."

How do I get this to go (build in debug mode)?


Doy !! It was old code, and I forgot that I actually encoded this in one condition of the error asm int 3 end; , of course, what the breakpoint signals for the IDE (or for Windows, if the IDE is not running, hence the error field). Apologies for the waste of time.

+8
delphi
source share
1 answer

A breakpoint is essentially a machine-level instruction (opcode?) That causes the CPU to pause and raise an exception type signal. Usually it is selected by the OS, and then into some kind of user process, for example, a debugger or simillar.

When I had it, it almost always was when my code went into some kind of data space. I say almost always when I accidentally coded breakpoints in code, sometimes debugging some nightmares (!).

Edit: Since @Ken White says that int 3 (interrupt interrupt) is the one I used for hard code :-)

The first thing I would like to do is get the stack trace and work with backwords.

+7
source share

All Articles