Recent

Author Topic: Application continues running after closing in the IDE  (Read 3843 times)

dkjMusic

  • Full Member
  • ***
  • Posts: 146
Application continues running after closing in the IDE
« on: September 07, 2011, 01:25:30 pm »
I have recently noticed that at random times while running my project within the IDE,  when I close it (click the X on the main form) the IDE Stop button remains red and the Task Manager shows that the program is still running.

Has anyone else seen this behavior? How to correct?
Windows 7 Ultimate/32 bit;
Lazarus 0.9.31/Rev 33300;
FPC 2.7.1/Rev 19464;
GDB 7.0.50;
(via CodeTyphon 2.30)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12077
  • Debugger - SynEdit - and more
    • wiki
Re: Application continues running after closing in the IDE
« Reply #1 on: September 07, 2011, 02:03:56 pm »
You can always try to "reset debugger" from "run" menu

----------

64 or 32 bit?

If 64 bit: using IDE for 64 or 32 and gdb for 64 or 32?

64 bit gdb is not very stable apparently (there may be an update, since 7.3 was released; have not yet been looking for it)

The 32 bit GDB was updated in trunk to 7.3.2 and is recommended for  debugging 32 bit apps. (I haven't tested it for debugging 32 bits app on 64 bit platform, but it probably will do)

gdb 7.3.2  should be in daily 0.9.31. snapshots, or can be found on mingw, or here: http://svn.freepascal.org/svn/lazarus/binaries/i386-win32/gdb/bin/
(libs must be in same dir as gdb.exe)

----------

In order to get specific answers for your case, more info is needed:
http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Basic_Information

« Last Edit: September 07, 2011, 02:06:17 pm by Martin_fr »

 

TinyPortal © 2005-2018