Forum > Debugger

Debugging Errors

(1/1)

JLWest:
So I installed Free Pascal and Lazarus.

I created a project with one window and 1 button.
I changed the caption on button to Quit and in the clicked event of the button I coded "Close;"

I ran the project and I get a  debug windows.

I get a Debugger Window Warning
GBH has encountered an internal error:
Press "OK" to continue debugging. This many not be safe. Press Stop to end the debug session.

The More button shows:

While executing the command:
"TGDBMIDebuggerInstruction: "-file-exec-and-symbols ", "
gdb reported:
"&"../../gdb-7.2/gdb/printcmd.c:1916: internal-error:
What does that mean?

So I hit stop and get a second message window to save my work and I may lose all my work.

It's just one form1 and one button.

any ideas?

Martin_fr:
GDB (the debugger) is a 3rd party / gnu tool.
It is called by the IDE.

Unfortunately gdb itself has some bugs too. The error you are getting means you encountered one of them.

Are you on windows? (exact OS?)

On our sourceforge site under windows (both 32 and 64 bit) as a folder "Alternative gdb".
It has newer versions of gdb.

You may try such a newer version (for the correct 32/64 bitness).

If you are not on windows, check your OS' software repository for a newer gdb.

----------------
Also this could be:

Interference by your Anti virus

The path name of your exe/project  (any none latin chars in path or name?)
If you did not save the project before, it is in a temp folder under your username (any none latin chars in your username?)

Navigation

[0] Message Index

Go to full version