Spring4D package use: Debug information for Spring4D objects.

40 views
Skip to first unread message

Thomas Lassen

unread,
Jan 21, 2019, 4:31:56 PM1/21/19
to Spring4D

After having installed Spring4D, I decided to try out some of the collection classes in a small console application. During debugging I noticed that I was not able to inspect, via the "Watch" window,
the contents of objects I had created in my code. I have fiddled around with various settings of the compiler, spent some time trying to understand that way in which packages work in Delphi, but have so far drawn a blank.

Does anyone in this group have suggestions on what I might do in order to retain the ability to inspect objects during debugging? Thanks in advance.

Ps. Naturally I've tried searching this, groups, but have not yet found the answer.

Thomas Lassen

unread,
Jan 24, 2019, 3:40:06 AM1/24/19
to Spring4D
I guess the answer to my question can be found here: No debug visualizer for Spring4d:

Stefan Glienke

unread,
Jan 24, 2019, 4:26:44 AM1/24/19
to Spring4D
The nature of interfaces is that they don't have anything to inspect in the watches window.

However if you are interested in their content you can call any method on them (like .Count, .ToArray or [n] for a specific item in an IList) to see whats in them..

Thomas Lassen

unread,
Jan 24, 2019, 4:40:51 AM1/24/19
to Spring4D
Thanks Stefan. Previously I have mostly worked with .NET/C# in Visual Studio, so I am adjusting to the environment of Delphi/RAD studio.
Reply all
Reply to author
Forward
0 new messages