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 6d79eed commit a4bf12aCopy full SHA for a4bf12a
src/ecma-debugger/action_handler.js
@@ -184,8 +184,8 @@ window.eventHandlers.click['set-break-point'] = function(event)
184
var span = li.querySelector(".line-number");
185
line_number = span && Number(span.textContent);
186
}
187
- var script_id = window.views.js_source.getCurrentScriptId() ||
188
- Number(target.get_ancestor_attr("data-script-id"));
+ var script_id = Number(target.get_ancestor_attr("data-script-id")) ||
+ window.views.js_source.getCurrentScriptId();
189
if (script_id && line_number)
190
{
191
if (bps.script_has_breakpoint_on_line(script_id, line_number))
0 commit comments