03-13-2017 02:21 PM
DIAdem debug mode doesn't step into the called subroutuines and remains in the main portion of the script when executing step-into. Does DIAdem have the capabilities to step into subroutines?
I have both the main file and the file with the subroutine open and have even tried putting all the subroutines in the same file but still doesn't step into.
03-14-2017 10:03 AM
Hi MD43,
This capability does exist in DIAdem -- make sure you're doing the following and it should step into any subprocedure that is called in the main code:
1.) Ensure that the subprocedure is called in the main portion of the code. If it is not called, you cannot step into it using the debugging tools.
2.) Place a breakpoint one line after the "Sub <FunctionCall()>" line.
3.) Run the debugger. You should be able to step into the code from there.
When I reproduced this, I had everything in the same script (both the subprocedures and the calls to them).