Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Debugger broken 8 years 6 months ago #8022

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
I used CT 5.4 on windows seven and CT64.
Ct was working fine since 2 weeks and I transform a project originaly in delphi XE2.
Suddenly I have my application freeze and CT also. I need to kill CT as I can't killed my application.
In first time after I discovered that the source of the program was completly empty !
I take the sauvegarde of the file, but if I can compile the project, the debbuger is broken : see error message in attachement.
I can close and restart CT it's alway the same :angry:
What can I do ?
thanks
Attachments:

Please Log in or Create an account to join the conversation.

Debugger broken 8 years 6 months ago #8023

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
Sir
we need more info
What changed in your pc last 2 weeks ?
Your project run OK without debug ?
Did you try to rebuild the Typhon IDE (Remove and build from CTCenter)?

please give us more info
PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Debugger broken 8 years 6 months ago #8024

  • Tony_O_Gallos
  • Tony_O_Gallos's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Ελεύθερο λογισμικό ή θάνατος
  • Posts: 84
  • Thank you received: 23
Hi Bourguignon,
did you try a "Clean and Compile" to remove all the pre-built binaries ?

You may check this post www.pilotlogic.com/sitejoom/index.php/fo...server-does-not-work
and this wiki entry too wiki.lazarus.freepascal.org/GDB_Debugger..._has_stopped_working

Please Log in or Create an account to join the conversation.

Last edit: by Tony_O_Gallos.

Debugger broken 8 years 6 months ago #8025

  • Martin - Lazarus Development Team
  • Martin - Lazarus Development Team's Avatar
  • Visitor
  • Visitor
> At address "0x69"

That means the address was not relocated (it should be at a higher address).

This typically happens when the address is not actually in the application. Or in other words, if smartlinking was used.
Due to a glitch fpc sometimes adds debug info for methods that are removed by smartlinking. That is why you should never use smartlinking for debug builds.

Verify your config wiki.lazarus.freepascal.org/Debugger_Setup

---
However this error does not usually lead to any hang/freeze. So their may be more.
What OS ? The image looks like windows? 32 bit or 64 bit?

For 32 bit maybe test the debugger from sourceforge.net/projects/lazarus/files/L...s/Alternative%20GDB/
(or version 7.2-1 as bundled with lazarus)
Some other versions of gdb (win32) are rather unstable. (e.g. during my tests versions 7.8, 7.9, 7.10 crash more often than the other versions)

If it is windows, and you get a freeze, have you tried to kill gdb.exe? Assuming it is still in the tasklist?

Please Log in or Create an account to join the conversation.

Debugger broken 8 years 6 months ago #8031

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4506
  • Thank you received: 1100
for ver 5.4 CodeTyphon has and fpDebug as option
for Windows and Linux


PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

Last edit: by Sternas Stefanos.

Debugger broken 8 years 6 months ago #8034

  • Bernard
  • Bernard's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 0
Hi,
Many thanks for your help, sorry for my english :blush:
I'll try to answer to your questions.
My OS windows 64, and I made no change in my PC between the time all was good and the time all was bad !
I just test again and it's the same think, I can compile but when I start the application, I have the windows error I copy in my first message.
I look for gdb.exe with the taskmanager, and I kill it, like that after I can kill CT.
As Sternas indicate, I change the débugger for fpDebugger and I can run my application and I can trace in debugging mode.
It seem that gdb is brokken.
If fpDebugger can make the job, no problem.
In next time I will try to reinstall CT.
Thanks again for your help, and I'll try to complete my application. It's the first in CT after 25 years of Delphi ! :lol:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1