43
Views
6
Comments
Debugging: Variables are "(unavailable)" in 'in use'-tab
Question
Service Studio Version
11.55.0 (Build 63850)
Platform Version
11.27.0 (Build 42539)

When debugging, i want to check the used variables.

On the 'Locals'-tab, all are defined but when I look on the 'In Use'-tab, several have the value 'Undefined'.  How come ?
All variables are used in the if statement I'm debugging.

Also, why does PrepareParent_ParentItem.FertItem.MaterialNumber appears twice in the 'In Use'-tab?

UserImage.jpg
Mehul Nagar

Instead of checking the values in "In Use" tab, you need to check the value in "watches" tab.

This thread may be useful: https://www.outsystems.com/forums/discussion/58241/local-variables-in-if-statement-unavailable-in-current-context/

UserImage.jpg
Peter Delrue

Same issue, the values are also "(Unavailable)"

2021-09-06 15-09-53
Dorine Boudry
 
MVP

He @Peter Delrue ,

what a small world, we worked together almost 30 years ago ! Sent you a connection request on LinkedIn.

I personally mostly use the InUse tab first, and if I don't see the information I need there, I use the locals tab.  I rarely feel the need to add watches.

It is not always predictable when a piece of information will be available, sometimes even on the local tab stuff is not available when debugging.  This is most of the time because the underlying optimized code has decided it doesn't need it.

The example you are showing here, I haven't come across yet, it usually involves data (not) being read or passed up from the database because it is not used anywhere.

Dorine

2021-09-06 15-09-53
Dorine Boudry
 
MVP

If you share an OML, I'll have a look

UserImage.jpg
Daniel Barton

I am expirencing something similar.

Outsystems my personal edition doesnt show any debugger data. It it showing (Unavailable) with all variables

ODC Studio

Version 1.6.14 / Build 9257

2025-04-08 05-20-35
Ilay
Staff

@Daniel Barton , I created a separate post, which I believe is the same as your question, https://www.outsystems.com/forums/discussion/105421/all-values-are-unavailable-when-debugging/

This thread is related to Service Studio (even though similar in many ways to ODC Studio), might be better to track it separately.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.