I have a code on vbscript, I am trying to debug it by tracing with Visual Studio. I start it with a command
cscript //D myscript.vbs
When a stop command is executed or an error happened I attach the VS.
The problem here that it only allows me to put a breakpoint to certain lines of the code (always to the one where the stop was, and some else, I did not get the rules), making the debugging process to be very frustrating.
When I'm trying to do the "Set the next statement" command to move the execution pointer (I press Ctrl+Shift+F10) to a line where it previously did not let me to put a breakpont, I got a message box, saying "Unable to set the next statement. There is no execution code at this location in the source code."
Is that a normal behaviour or something is misconfigured?