Finding contents of a field/object contents using IDE Debug

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Mkolbe
Posts: 27
Joined: Tue Apr 04, 2017 12:45 am

Finding contents of a field/object contents using IDE Debug

Post by Mkolbe »

While using debug I was hoping to be able to right-click on a line of code to quickly see the contents of a specific field or object. Doesn't look like that is an option. I can find somethings easy enough (like a field from a file), but not others (e.g. avAssociatedInstance). I've tried expanding everything in the Variable list on the left and using my eyeballs, but am not always finding what I'm looking for. Anyone have any suggestions?
Image
Attachments
Lansa - Debug - Finding object contents.JPG
Lansa - Debug - Finding object contents.JPG (164.42 KiB) Viewed 5376 times
atostaine
Posts: 696
Joined: Wed Jan 20, 2016 7:38 am

Re: Finding contents of a field/object contents using IDE Debug

Post by atostaine »

It's always a hit or miss whether you're going to get to view the value.
Art Tostaine
jyoung
Posts: 694
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

Re: Finding contents of a field/object contents using IDE Debug

Post by jyoung »

Agree with Art, it can be pretty hit or miss at times.

Make sure that the components are / have been recently complied. I have found that a lot of the times I am missing something it is because I did not compile it.

Also, you may want to try tracing. I have come to rely heavily on tracing and since it looks like you are using VLF its super easy to do.

http://docs.lansa.com/14/en/lansa048/in ... 8_0845.htm
Post Reply