Forum > Debugger

[SOLVED] Inspect Into TStringlist

(1/2) > >>

superc:
Hello,

I don't understand how see elements in a TstringList with debugger: if I add a watch i don't see element and if I try to use a Debug Inspector i don't see anything value... What's the correct way?
I'm using Lazarus 2.2RC2 32 bit with a FPC 3.2.3 on Windows 10 with Dwarf2 into Debug options,
thanks in advance.

PascalDragon:

--- Quote from: superc on March 07, 2022, 11:44:51 am ---I don't understand how see elements in a TstringList with debugger: if I add a watch i don't see element and if I try to use a Debug Inspector i don't see anything value... What's the correct way?

--- End quote ---

There currently is no way for this, because both evaluating properties and executing functions from within the debugger is needed for this functionality and that simply does not yet exist.

superc:
It would be one of the very important features to implement

Zvoni:

--- Quote from: superc on March 07, 2022, 11:44:51 am ---What's the correct way?

--- End quote ---
A lot of writeln's or a TMemo-Control

korba812:
You can preview contents of TStringList using "Evaluate / Modify" dialog. However, you have to build rtl with debug info.

Navigation

[0] Message Index

[#] Next page

Go to full version