Error while debugging 32-bit app on Lazarus 64-bit lazarus / 13-General ---------------------------------------------------------------------- Sait™ · 2016-04-22 14:48 I installed Lazarus 1.6 64-bit and add-on i836-win32 too, because sometime I need to compile 32-bit application. But whenever I switch project to i836-win32 and debug It will raise an excetion class 'External: SIGSEGV' at address 737F5B90. In Assembler window I havs this: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i ntdll!ZwWaitForWorkViaWorkerFactory 76FF8760   b8b9010000              mov    $0x1b9,%eax76FF8765   bab0b50077              mov    $0x7700b5b0,%edx76FF876A   ffd2                    call   *%edx76FF876C   c21400                  ret    $0x14 (stopped at this line)76FF876F   90                      nop  That exception alway raises when I close application or comeback to editor while application still running, then my App will be hanging on. Although, I run compiled .exe outside Lazarus, no problem happen. I think this problem is from Lazarus, doesn't it? ---------------------------------------------------------------------- Thaddy · 2016-04-22 15:09 In FPC this is pretty simple: just point to a 32 bit debugger when you use 32 bit code and point to a 64 bit debugger when you use 64 bit code. Don't know how to do that in Lazarus..... Should be about the same, but I have no clue how to configure the Lazarus IDE to do just that. In general things have become much easier since GDB/MI support was introduced. Should be possible with simple configuration settings. ---------------------------------------------------------------------- Sait™ · 2016-04-22 15:22 I found the configure of debuger in Lazarus. But I think it is fine: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i $(LazarusDir)\mingw\$(TargetCPU)-$(TargetOS)\bin\gdb.exeSo, when I switch project to i836-win32, the debugger will change too ---------------------------------------------------------------------- Martin_fr · 2016-04-22 17:04 This is not in your code but the kernel or a dll. That could have a huge number of reasons. This can be caused by anti virus software. One thing you can try: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopp ed_working