[Lazarus] Question about GDB on Windows

Marc Weustink marc at dommelstein.net
Wed Feb 20 20:42:47 CET 2008


Lee Jenkins wrote:
> Hi all,
> 
> I've read there are a few problems with gdb on windows.  Actually, I've 
> encountered a few problems, while not show stoppers are annoying.
> 
> Sometimes when debugging a GUI app, the will get focus, but kinda freeze. 
> Usually this is when I've run the application in debug mode and then shut the 
> application down, but GDB stays running.
> 
> I've noticed that everything is much better behaved if I ensure that gdb is 
> shutdown after each run (which is sometimes is not).
> 
> Question: Is there a way to ensure that gdb gets shutdown after every debug run?

No, unless you use the reset debugger menu item.

The initial idea of the debugger is to keep gdb running to avoid long 
gdb startup and loading times when debugging in multiple runs.

Marc




More information about the Lazarus mailing list