Welcome, Guest
Username: Password: Remember me
Discussions for CodeTyphon Studio Installation and Setup.
  • Page:
  • 1

TOPIC:

GDB problem in CT 2.00 12 years 8 months ago #1189

  • avra
  • avra's Avatar Topic Author
  • Visitor
  • Visitor
Applications compile well, but do not start in IDE since GDB gives this message:
gdb.exe has encountered a problem and needs to close.
We are sorry for the inconvenience.


I have found a workaround to copy c:\pp\binGDB\win32 from the previous version I had (CT 1.60). Debugging now seams to work well so far (watches, steps, local variables...)

WinXP SP3, Lazarus CT 2.00

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

Last edit: by avra.

Re: GDB problem in CT 2.00 12 years 8 months ago #1191

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
Thanks Sir
I will put this to next ver only for WinXP
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Re: GDB problem in CT 2.00 12 years 8 months ago #1192

  • Rain
  • Rain's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 69
  • Thank you received: 8

avra wrote: Applications compile well, but do not start in IDE since GDB gives this message:
gdb.exe has encountered a problem and needs to close.
We are sorry for the inconvenience.


WinXP SP3, Lazarus CT 2.00


Can confirm the Problem and the solution too here in WinXP.

Copied from previous CodeTyphon_180.zip (1.80, not from 1.60):
CodeTyphon_180\binGDB\win32\gdb.exe
to:
c:\pp\binGDB\win32\gdb.exe

and it works now, as it did previously, very well.

Thanx for CT v2.00 by the way!

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

Re: GDB problem in CT 2.00 12 years 8 months ago #1193

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
GDB 7.3.50 Working OK with Win7 32/64
I am thinking to upload CT 2.10 with GDB Rollback...
today, but we will see...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

Re: GDB problem in CT 2.00 12 years 8 months ago #1194

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
That problem people speak about, has nothing to do with XP itself, but the way gdb deal with paths.
I don't have installed XP, but maybe someone try to move his/her project folder nearer to the drive root or check if there are national characters/spaces in the path. In CT v 1.60 this measures did the trick and gdb began to work properly.
Sometimes change codepage nls1252 to nls1251 in the regedit did the trick too, but that's seem to be dependent from weather on Mars or some abnormal magnet fields...
So try the first one solution, maybe the thing is in paths.
コンソールマニアック

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

Re: GDB problem in CT 2.00 12 years 8 months ago #1195

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4513
  • Thank you received: 1102
GDB 7.0.50 working OK with all Windows (XP, vista, Win7)
GDB 7.3.50 has problem with winXP

after my tests

So, I will put new GDB 7.3.50 in binGDB folder for test (xnewGDB)
GDB 7.0.50 will be the default for installation

I must rebuild (again) GDB from SVN source...like 7.3.50
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.
  • Page:
  • 1