Closed
Description
Version: v6.8.1
Platform: Windows 10 64 bit
function exception_function() {
try {
throw 'error';
} catch (err) {
console.log(err);
}
}
console.log('Starting script.');
exception_function();
console.log('Stopping script.');
When i am inside the exception_function in the debugger and execute the out function, it does not stop any more. If i do single step or step over all the way then it works fine.
< Debugger listening on [::]:5858
connecting to 127.0.0.1:5858 ... ok
break in C:\Users\xxxx\Desktop\exception.js:10
8 }
9
>10 console.log('Starting script.');
11 exception_function();
12 console.log('Stopping script.');
debug> next
< Starting script.
break in C:\Users\xxxx\Desktop\exception.js:11
9
10 console.log('Starting script.');
>11 exception_function();
12 console.log('Stopping script.');
13
debug> step
break in C:\Users\xxxx\Desktop\exception.js:4
2 function exception_function() {
3 try {
> 4 throw 'error';
5 } catch (err) {
6 console.log(err);
debug> out
< error
< Stopping script.
debug> quit