Symbolic path in Debugger
KZarzana
Is there a way in the Debugger to see the current symbolic paths in the experiment and the values of those paths, similar to what is shown in the Symbolic Path Status window? If not, is this something that could be added to a future version of Igor?
An undocumented feature of the debugger is to call user functions when evaluating Expressions.
Here's code to demonstrate how to use it to accomplish something like what you want:
Variable/G V_DebugDangerously=1
foo()
End
Function foo()
Variable refnum
Debugger // add debugger expression for SymbolicPathValue("Igor")
Open/D/P=Igor refnum
End
Function/S SymbolicPathValue(symPathNameStr)
String symPathNameStr
PathInfo $symPathNameStr // sets S_path
return S_path
End
March 2, 2022 at 12:44 pm - Permalink
@JimProuty: It is actually documented, see DisplayHelpTopic "The Procedure Pane".
March 3, 2022 at 06:27 am - Permalink