Vote UpVote

Breaking in the Delphi debugger without a breakpoint

The Wiert Corner – You can fire a debugger breakpoint using either of these two: asm int 3 end which is the x86 debug interrupt DebugBreak() which is the Windows API function wrapping the above interrupt I’m not sure how accurate it is (in the past it would fail under some debuggers other than the Delphi IDE), but as of Delphi 2, there is a DebugHook variable that is non-zero when running under the Delphi debugger, so you can protect your code. Via [WayBack] I remember some time ago, Jeroen Pluijmers posted a snippet of how to place a breakpoint directly in the Delphi source without relying on the F5 ...
Favorite? Off-Topic? jpluimers @ 2019-02-20 18:05


Visits: 173
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)