2013-09-14

gdb.exe has stopped working:

← Older revision

Revision as of 21:03, 14 September 2013

Line 168:

Line 168:

 

GDB itself has crashed. This will be due to a bug in gdb, and may not be fixable in Lazarus. Still it may be worth submitting info (see section "Reporting Bugs" below). Maybe Lazarus can avoid calling the failing function.

 

GDB itself has crashed. This will be due to a bug in gdb, and may not be fixable in Lazarus. Still it may be worth submitting info (see section "Reporting Bugs" below). Maybe Lazarus can avoid calling the failing function.

 

 



There is one already known situation. GDB (6.6 to 7.4 (latest at the time of testing)) may crash while your app is being started. This happen while the libraries (DLL) for your app are loaded (watch the "[[IDE_Window:_Debug_Output|Debug output]]" window). In this case go to the [[IDE_Window:_Debugger_Options|debugger options]] and in the field "debugger_startup_options" enter:

+

There is one already known situation. GDB (6.6 to 7.4 (latest at the time of testing)) may crash while your app is being started
, or right after your app stopped
. This happen while the libraries (DLL) for your app are loaded (watch the "[[IDE_Window:_Debug_Output|Debug output]]" window). In this case go to the [[IDE_Window:_Debugger_Options|debugger options]] and in the field "debugger_startup_options" enter:

 

:: --eval-command="set auto-solib-add off"

 

:: --eval-command="set auto-solib-add off"



 

 

 

 

== "PC register is not available" ("SuspendThread failed. (winerr 5)") ==

 

== "PC register is not available" ("SuspendThread failed. (winerr 5)") ==

Show more