Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

Debugging tips, please?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jon Foster

I figured out some of the issue is that apparently I can't see variables in the parent procedure from a nested child procedure. At least not completely all of the time. Is this a known limitation?

THX - Jon

Jon Foster wrote 21 lines
I've noticed recently that I can actually use the debugger. I think this is mostly due to an upgrade in my Linux install. Anyhow I find that for most symbols in a procedure I can't view their data in the "watch list" or the "evaluation" box. It seems that the only thing that I can view is symbols declared specifically in the function I'm running. Globals and other members of the class I'm working on return a 'no symbol "..." in current context' error. Some variables defined in the current procedure may not work, like objects or strings. My enums usually display erroneous values. What is the best way to improve what I'm able to see? Are some of these things simply not supported? I've already. SPECS: Debian Linux 4.0 on i386, FPC 2.2.0, SVN Lazarus r15850, gdb 6.4.90-debian TIA - Jon PS: My *many thanks and extreme gratitude* to the individual who fixed the "segfault" in the TDBGrid!!
Jon Foster JF Possibilities, Inc. 541-410-2760 Making computers work for you!

Reply by email