Yes it can display them. Sometimes you need to do a hard cast or a "as" cast - I quite often use the Evaluate/modify window or watches. The code that drives these two does not appear to be quite the same (or perhaps timing delays). Sometimes one works but not the other.
The call stack window in D2006/D2007 is very useful - you can see all the locals etc. Basically when debugging I always have frames turned on, optimisations off - this way you should be able to get at everything. Myles. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Bird Sent: Tuesday, 7 August 2007 07:16 To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG] Debugger - variable values There is something I wanted to know about the debugger.....I love the debugger being able to examine the values of variables in code. I have also got used to that it just won't show the values of some. Loop pointers often won't get shown, particularly as you say after the loop is finished. Some others as well, I assume because of optimisation, or sometimes simply because it is time to reboot the PC or restart the IDE. The other type I had got used to never seeing the value of was a member of a stringlist, eg TmWorkLine1:=srcTemplateInputLines.Strings[TemplatePtr]; The debugger would just show srcTemplateInputLines | () as the value. However one day, and it has only happened once, it did show the value of the string. I got a surprise! So.....is the debugger supposed to be able to show the actual string values in a stringlist or not? John _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe Attention: This communication is confidential and may be legally privileged. If you are not the intended recipient, please do not use, disclose, copy or distribute it, other than to return it to us with your confirmation that it has been deleted from your system. _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: [email protected] Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to [EMAIL PROTECTED] with Subject: unsubscribe
