jose_pita
12 years agoSuper Contributor
Disable debug on script routine
A couple of days ago I inserted this function on my batch of tests ir order to disable debugging before running all my tests in order to prevent it from stopping on some forgotten breakpoint:
function disableDebugging(){
DbgServices.Options.ActiveExceptions = false;
DbgServices.Options.EnableEvents = false;
Log.Message("asd");
}
It seemed to work for some days but now it makes no changes...
Anyone knows a better way to do this or how to solve it?
If I execute the tests by command-line will the breakpoints be ignored?
Thanks a million.
function disableDebugging(){
DbgServices.Options.ActiveExceptions = false;
DbgServices.Options.EnableEvents = false;
Log.Message("asd");
}
It seemed to work for some days but now it makes no changes...
Anyone knows a better way to do this or how to solve it?
If I execute the tests by command-line will the breakpoints be ignored?
Thanks a million.
- Hi Jose,
If I am not mistaken, the simplest way to disable breakpoint during test run from the command line is using parameter /SilentMode.