Skip to content

Commit 119332c

Browse files
author
Chris K
committed
DFL-3368 "Stop at error/exception" toolbar button not in sync with internal state on first run
1 parent a1b4b13 commit 119332c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ecma-debugger/js-source-view.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ cls.JsSourceView.create_ui_widgets = function()
11411141
);
11421142

11431143
var service = window.services['ecmascript-debugger'];
1144-
var stop_on_error = service.satisfies_version(6, 8) ? 1 : 0;
1144+
var stop_on_error = service.satisfies_version(6, 8) ? true : false;
11451145
var checkboxes =
11461146
[
11471147
'script',
@@ -1168,10 +1168,10 @@ cls.JsSourceView.create_ui_widgets = function()
11681168
'js_source',
11691169
// key-value map
11701170
{
1171-
script: 0,
1172-
exception: 0,
1171+
script: false,
1172+
exception: false,
11731173
error: stop_on_error,
1174-
abort: 0,
1174+
abort: false,
11751175
'tab-size': 4,
11761176
'js-search-type': DOMSearch.PLAIN_TEXT,
11771177
'js-search-ignore-case': true,

0 commit comments

Comments
 (0)