[Lazarus] Debugger stops in c dll even when no breakpoint set

Luca Olivetti luca at wetron.es
Thu Oct 28 14:49:11 CEST 2021

El 28/10/21 a les 14:28, Christo Crause ha escrit:
> On Thu, Oct 28, 2021 at 2:01 PM Luca Olivetti via lazarus 
> <lazarus at lists.lazarus-ide.org <mailto:lazarus at lists.lazarus-ide.org>> 
> wrote:
>     77045AC4 cc                       int3
> The Int3 instruction means break, so this is the expected behaviour.  If 
> there is no debugger inserted break point for this location, it must be 
> compiled into the dll code. 

Thank you, that's interesting, but that's inside the 
ntdll!RtlpNtMakeTemporaryKey (i.e. presumably in ntdll.dll) function, 
not in my code.
I just removed the "free" call in my code, it will cause a memory leak 
but that's ok for testing.

Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007

More information about the lazarus mailing list