[fpc-pascal] Mozilla XPCOM
José Mejuto
joshyfun at gmail.com
Thu Jun 3 18:46:33 CEST 2010
Hello FPC-Pascal,
Thursday, June 3, 2010, 3:31:31 PM, you wrote:
JM> You can try putting breakpoints on FPEXIT, _haltproc and _exit (the
JM> last one only exists if libc is linked, but that's definitely the case
JM> here; note that all of them are case-sensitive). That should catch
JM> most exits.
I was only able to set a break over _haltproc and it catches the exit
with this backtrace:
#0 0x082da470 in SI_C21__FPC_LIBC21_HALTPROC ()
#1 0x080779d4 in SYSTEM_SYSTEM_EXIT ()
#2 0x080700da in SYSTEM_DO_EXIT ()
#3 0x080700fa in SYSTEM_HALT$LONGINT ()
#4 0x0806d364 in fpc_catches ()
#5 0x08419fd8 in TC_NSXPCOMGLUE_SCOMPMGR ()
#6 0xb6b5d7c0 in ?? ()
#7 0x082bf858 in INITWINDOWCREATOR () at CallbackInterfaces.pas:108
#8 0x082b8747 in TCUSTOMGECKOBROWSER__INITWEBBROWSER (this=0xb6b8bd30)
at GeckoBrowser.pas:1096
I'm unable to determine which is TC_NSXPCOMGLUE_SCOMPMGR. fpc_catches
appears just after the procedure that raises the exception or it could
appear later ?
--
Best regards,
José
More information about the fpc-pascal
mailing list