microsoft/ChakraCore-Debugger

Inline breakpoints break at the beginning of the line instead of the specified column

akrantz opened this issue · 0 comments

If an inline breakpoint is set on a statement in the middle of the line, the breakpoint breaks at the beginning of the line.

For example, with this statement:

setTImeout(() => console.log("TIMED OUT"), 5000);

If the breakpoint is set on the console.log() statement, column 17, then the breakpoint should break once the console.log() statement is reached.

Instead, it will break when setTimeout() is being called.

It simply seems to ignore the column offset and only use the line, because the breakpoint binds to the beginning of the line.