Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: vbs debug

0
0
Hi eichti,

We can't reproduce the Visual Studio security errors you're seeing. What kind of application are you working on (console, WPF, ASP.NET, etc.)?

If you can get past the security issues, try the following:
  • Insert a stop statement somewhere at the beginning of your script.
  • Make sure to use WindowsScriptEngineFlags.EnableDebugging and WindowsScriptEngineFlags.EnableJITDebugging.
  • Run your application outside the debugger. When you get the JIT prompt, select "Manually choose the debugging engines" and click Yes. When prompted, select the script debugging engine. The debugger should attach and navigate to the stop statement line.
Good luck!

Viewing all articles
Browse latest Browse all 2297