DEbugger error Window lazarus / 12-Debugger ---------------------------------------------------------------------- clemmi · 2014-07-15 20:40 Everything works fine but when I close the program I get this Debugger Error message: ------------------------------------------------------------- DEbugger error Ooops, the debugger entered the error state Save your work now! Hit Stop, and hope for the best, we're pulling the plug. The GDB process is no longer running. MORE - Stop ------------------------------------------------------------- how do I find out what's wrong and fix it?? ---------------------------------------------------------------------- Martin_fr · 2014-07-17 14:24 And? Did you click more? Did you copy the info revealed by more, and paste it here? The "more" info is probably not helping you,but it would help if copied here. On top of that, you may provide a log http://wiki.lazarus.freepascal.o rg/GDB_Debugger_Tips#Log_info_for_debug_session Win 32 or Win 64? Also you may want to try this http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#gdb.exe_has_stopp ed_working ---------------------------------------------------------------------- clemmi · 2014-07-17 15:42 MORE says: The GDB command: "-file-exec-and-symbols" did not return any result. ---------------------------------------------------------------------- Martin_fr · 2014-07-17 16:10 Ok, I dont think I have seen that one before.. 1) 32 or 64 bit? 2) Lazarus 1.2.4 or other? 3) And probably a need for the logfile.... --- Though sometimes gdb does have bugs, and not all of them can de fixed. If it ONLY happens when you close your app, you can ignore it. ---------------------------------------------------------------------- clemmi · 2014-07-18 14:52 From About window: Lazarus 1.0.14 FPC v. 2.6.2 SSVN rev. 43446 i386-win32-win32/win64 -------------------------------- Lazarus 32 bit on a 64 bit PC - Windows 7 -------------------------------- Not sure how to get the log file. Attached is the "Debug output window" after running the application AND after exiting it. The application runs fine but I have to wait after exiting it for the error window to close each time I exit the application. I could ignore it but if there's a problem with the program I would like to fix it and also it's very inconvenient to have to wait each time I exit before I can run it again. I need to do this many times since I'm developing the program. Thank you for your time! -------------------------------- ---------------------------------------------------------------------- Martin_fr · 2014-07-18 15:42 How to get the log file is described on the wiki link I posted. But the debug window shows similar info. I don't think the log will give much more info. If the  error did happen on the run, which you copy and pasted, then gdb did respond (contrary to the IDE error message). There is a tiny chance that 1.2.4 will be better. But before upgrading try the items below Basically: There is no definitive fix for this: * The other link I posted (gdb stopped working). Using "auto-solib off"  can fix a lot of problems. * Also try to either use Norton in game mode, or add an exception for gdb AND your app. * You may try another gdb / but I do not expect it to make a difference.  http://sourceforge.net/projects/mingw/files/MinGW/Extension/gdb/ Some of them have other issues. There are some tips on the linked wiki page * upgrade Lazarus ---------------------------------------------------------------------- clemmi · 2014-07-19 19:05 Before I upgrade lazarus I have a couple of concerns. My current version is 1.0.14 Your email seems to suggest to upgrade to 1.2.4 but the download page says the latest is 2.6.4 Which version should I upgrade to be safe my program continue working fine as now? After I upgrade I just open the application from the .lpi file? should I expect any problems? Can I have both version on my PC? ---------------------------------------------------------------------- Rails · 2014-07-19 19:10 1.2.4 is the latest Lazarus. 2.6.4 is the latest FPC.  You need both. The Windows installer contains both, AFAIK. ---------------------------------------------------------------------- clemmi · 2014-07-19 19:43 Is it safe to updrade or should I expect problems running the curren application? ---------------------------------------------------------------------- Rails · 2014-07-19 20:03 I don't know. I doubt that anyone will be willing to guarantee that you won't experience any problems if you upgrade. ---------------------------------------------------------------------- nilpointer · 2014-07-20 10:50 You can have both versions running on your system. Look at ]http://wiki.freepascal.org/Multiple_Lazarus#Example_1:_SVN_an d_Release] and http://wiki.freepascal.org/Multiple_Lazarus#Installation_of_multip le_Lazarus