Welcome, Guest
Username: Password: Remember me
General discussions, feature requests for CodeTyphon Project and discussions that don't fit in any of the other specific CodeTyphon forum categories.
  • Page:
  • 1

TOPIC:

CT 4.7 on opensuse 13.1 - gdb(?) problem 10 years 7 months ago #5324

  • Panos Varnas
  • Panos Varnas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
I use CT 4.7 on open SuSE 13.1 64bit (gdb version: 7.6.50.20130731-cvs)
Everything seems to work OK but....

When I use step into, step over... etc. instead of being presented with the source editor and the (highlighted) corresponding line of pascal code, I get the assembler window.
What am I doing wrong?

In Project Options I have the following settings:

Compiler Options: Compilation and Linking: Optimization levels: 1 (quick, debugger friendly) (-O1)
Compiler Options: Debugging: Generate debugging info for GDB (checked)
Compiler Options: Debugging: Type of debug info: Automatic (-g)
Compiler Options: Debugging: info for GDB: Display line numbers ...(-gl)

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

CT 4.7 on opensuse 13.1 - gdb(?) problem 10 years 7 months ago #5325

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Please Sir, try and the new CT ver 4.8
has a lot of new code on debugger session
PilotLogic Architect and Core Programmer

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

CT 4.7 on opensuse 13.1 - gdb(?) problem 10 years 7 months ago #5337

  • Panos Varnas
  • Panos Varnas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 2
  • Thank you received: 0
Thank you for your answer.

I updated to 4.8 but saw no improvement.
After restoring my previous snapshot (with 4.7 installed) I noticed that while running my (blank) project with "F8", after few steps I get a debugger error stating that the debugger cannot find bounds of current function.

I made a fresh install of 4.8 on a real machine (not a VM) and I faced the same behavior.
(Machine was set up with opensuse 13.1 32 bit, 1,5GB Ram)

I guess that, unless there's some weird bug or incompatibility, I'm probably doing something systematically wrong with my installations.

Thank you in advance for any additional idea or suggestion!

Panos

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

CT 4.7 on opensuse 13.1 - gdb(?) problem 10 years 7 months ago #5340

  • Sternas Stefanos
  • Sternas Stefanos's Avatar
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Sir
in our lab we use:
2Gbytes RAM for 32bit OSes and
4Gbytes RAM for 64bit OSes
we think that this is the minimum RAM request for CodeTyphon.

So, my suggestion is to use more RAM or
try to run without debugger.
PilotLogic Architect and Core Programmer

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

CT 4.7 on opensuse 13.1 - gdb(?) problem 10 years 7 months ago #5341

  • Martin - Lazarus Development Team
  • Martin - Lazarus Development Team's Avatar
  • Visitor
  • Visitor
Try the autosolib off from wiki.lazarus.freepascal.org/GDB_Debugger...d_continue_debugging

And ensure there is no smart linking enabled.

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

CT 4.7 on opensuse 13.1 - gdb(?) problem 10 years 7 months ago #5343

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

sternas wrote: Sir
in our lab we use:
2Gbytes RAM for 32bit OSes
...
we think that this is the minimum RAM request for CodeTyphon.
...
.


Oh, that means CT on Raspberry Pi will not work in some future ? :dry:
(I already tried, but install script failed to complete)
Using often Lazarus on Raspberry Pi for debugging which even fits in 256 MB RAM of the QEMU Machine (using SSH and X-Forwarding to ease the life of the QEMU), or the normal Raspberry 512 MB version with SSH and X-Forwarding.

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

  • Page:
  • 1