Hello Everybody,
I just started to develop a Mma package inside Workbench and I have a question regarding the debugging process.
In my package I have several functions defined and I use variables that are local to the functions (defined inside Module[]) and
variables that reside at the package level. My problem is that when I debug a function I can only see the variables that I have defined
inside the Module[], but not those that exist at the package level. The question is now to to inspect the content of those package
level variables ??
For clarification here some sample code.
When I debug func I can see locVar, but not packVar !
BeginPackage["MyPackage`"]
func[x_]:=
Module[{locVar},
locVar = x+5;
packVar = x+2;
]
EndPackage[]
Many thanks,
Alex