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?
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/
Same issue, the values are also "(Unavailable)"
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
If you share an OML, I'll have a look
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
@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.