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:

Class members during debugging 6 years 10 months ago #10802

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
Hi!

I am not sure if this is a CT specific or a Lazarus level problem:

During debugging when the cursor is over some member of a class (eg EUrl.Text) the tooltip does not show information about that member. Istead there is one of these meassages

1 Type Tedit has no component named Text
2. EUrl.Text = <error>

Trying to evalute the same expression in the Evalute/Modify window the result is the same.

Is this an error or lack of functionality? Or is there some setting to switch on to get this working properly?

CT 6.15, Windows 7

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

Last edit: by Leslie.

Class members during debugging 6 years 10 months ago #10803

  • Bram van Vliet
  • Bram van Vliet's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 13
  • Thank you received: 0
This might help,

Check your settings @ Project > Options > Compilation and linking and make "Optimization levels" is set to 0 no optimization or 1 debugger friendly.
Further you can add the options below @ Project > Options > Custion options

-OoNOREGVAR
-OoNOFORCENOSTACKFRAME

This will prevent the usage of register variables and ensures there is a stack frame so all variables can be evaluated.

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

Class members during debugging 6 years 10 months ago #10805

  • Leslie
  • Leslie's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 66
  • Thank you received: 4
Thanks for you help!

I could not find the OoNOFORCENOSTACKFRAME option. Is this spelled correctly?

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

  • Page:
  • 1