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

TOPIC:

GDB crashes when evaluating arrays 2 weeks 2 days ago #18605

  • VCC
  • VCC's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
Hi,
I don't know if this is an old issue or not, I've seen it on CT8.4 only as far as I remember. While debugging and the configured debugger is GDB, when evaluating arrays, either by hovering the mouse cursor over code, or using the watches window, GDB crashes. Here are some setup details:
Compiler/IDE: CT 8.4, on Win8.1 32-bit
- When configured to debug with default project settings (default debugger, which is GDB), the debuger crashes
- When configured to debug with LLDB, the debugger does not even stop at breakpoint (whatever)
- When configured to debug with FpDebug, the array variables and constants can be evaluated without crashing (as expected)
[code]const
  CMyArray: array[0..2] of Integer = (0, 1, 2);

var
  VMyArray: array[0..2] of Integer;


procedure TForm1.FormCreate(Sender: TObject);
begin
  Caption := Caption + IntToStr(CMyArray[0]) + ' ' + IntToStr(VMyArray[0]);  //add breakpoint here
end;
[/code]


Thank you
Attachments:

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

GDB crashes when evaluating arrays 2 weeks 1 day ago #18606

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1087
  • Thank you received: 156
Sir
With LAB CodeTyphon 8.50
NO problem found.

Win11-64 bit

 

 

 
PilotLogic Core Programmer
Attachments:
The following user(s) said Thank You: VCC

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

Last edit: by Matis A..

GDB crashes when evaluating arrays 1 week 1 day ago #18609

  • VCC
  • VCC's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 14
  • Thank you received: 0
I guess I'll switch to FpDebug for now.
Thank you anyway.

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

  • Page:
  • 1