We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fed4e3 commit b1fa90aCopy full SHA for b1fa90a
src/ecma-debugger/stop_at.js
@@ -49,7 +49,7 @@ cls.EcmascriptDebugger["6.0"].StopAt = function()
49
"var MAX_LINE_LENGTH = 160;",
50
"var last = 0;",
51
"var index = 0;",
52
- "while ((index = scriptData.indexOf(\"\n\"), last) > -1)",
+ "while ((index = scriptData.indexOf(\"\\n\", last)) > -1)",
53
"{",
54
" if (index - last > MAX_LINE_LENGTH)",
55
" return true;",
0 commit comments