Skip to content

Commit cb5b3a1

Browse files
committed
Merge pull request #402 from NativeScript/slavchev/fix-issue-397
fix issue #397
2 parents ab90049 + eea015b commit cb5b3a1

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/src/com/tns/JsDebugger.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -580,12 +580,10 @@ public void start()
580580

581581
registerEnableDisableDebuggerReceiver(handler);
582582

583-
logger.write("Enabling Debugger Agent");
584-
enable();
585-
586583
boolean shouldDebugBreak = getDebugBreakFlagAndClearIt();
587584
if (shouldDebugBreak)
588585
{
586+
enableAgent();
589587
debugBreak();
590588
}
591589
}

0 commit comments

Comments
 (0)