Recent

Author Topic: DEbugger error Window  (Read 5440 times)

clemmi

  • Jr. Member
  • **
  • Posts: 54
DEbugger error Window
« on: July 15, 2014, 10:40:00 pm »
 :) 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

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki
Re: DEbugger error Window
« Reply #1 on: July 17, 2014, 04:24:46 pm »
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.org/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_stopped_working

clemmi

  • Jr. Member
  • **
  • Posts: 54
Re: DEbugger error Window
« Reply #2 on: July 17, 2014, 05:42:34 pm »
MORE says:
The GDB command:
"-file-exec-and-symbols"
did not return any result.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki
Re: DEbugger error Window
« Reply #3 on: July 17, 2014, 06:10:26 pm »
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

  • Jr. Member
  • **
  • Posts: 54
Re: DEbugger error Window
« Reply #4 on: July 18, 2014, 04:52:35 pm »
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

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki
Re: DEbugger error Window
« Reply #5 on: July 18, 2014, 05:42:04 pm »
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

  • Jr. Member
  • **
  • Posts: 54
Re: DEbugger error Window
« Reply #6 on: July 19, 2014, 09:05:34 pm »
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

  • Guest
Re: DEbugger error Window
« Reply #7 on: July 19, 2014, 09:10:28 pm »
1.2.4 is the latest Lazarus. 2.6.4 is the latest FPC.  You need both. The Windows installer contains both, AFAIK.
« Last Edit: July 19, 2014, 09:13:56 pm by Rails »

clemmi

  • Jr. Member
  • **
  • Posts: 54
Re: DEbugger error Window
« Reply #8 on: July 19, 2014, 09:43:44 pm »
Is it safe to updrade or should I expect problems running the curren application?

Rails

  • Guest
Re: DEbugger error Window
« Reply #9 on: July 19, 2014, 10:03:20 pm »
I don't know. I doubt that anyone will be willing to guarantee that you won't experience any problems if you upgrade.

nilpointer

  • New member
  • *
  • Posts: 7
Lazarus 1.2.4, FPC 2.6.4 32 bit on Win7 64 bit

 

TinyPortal © 2005-2018