I have several VM scripts that need to be able to make calls to each other. If I don't provide a filename, the default "evalmachine.<anonymous>" is used and I'm able to step through my code fine. However when one VM calls a function inside another, the debugger points to the wrong file.
I fixed this by passing in a filename into VM.Script, and while my "debugger" statement still works, I'm faced with a new problem. When I try to step through the code, the debugger immediately steps out of the VM (although the script still executes normally).
I've spent 2 days trying out different VM's and messing about with filenames and just can't get to function properly. I'd greatly appreciate some support on this topic. Thanks.