Skip to content

Conversation

slavchev
Copy link

No description provided.

@ns-bot
Copy link

ns-bot commented Mar 24, 2016

💚

@blagoev
Copy link
Contributor

blagoev commented Mar 24, 2016

Isn't this fix working #401

@blagoev
Copy link
Contributor

blagoev commented Mar 24, 2016

@slavchev

@slavchev
Copy link
Author

#401 works fine. I just went for a simpler solution. Yesterday I fixed NativeScript/nativescript-cli#1640 so now a simple enableAgent() call is enough.

@blagoev
Copy link
Contributor

blagoev commented Mar 24, 2016

It seems to me #401 fixes the debugger statements and this one. That's why I suggest we move on with #401 instead.

@slavchev
Copy link
Author

I prefer to keep it as simple as possible. That's why I fixed the bug the CLI and then there is no need for workarounds it the runtime code. Win-win situation.

@blagoev
Copy link
Contributor

blagoev commented Mar 24, 2016

Just to clarify. The #401 pull is related to the bug when a debugger; statement exists in code and when the app run it should not stop there if no debugger is connected. The #401 pull fixes this and includes the changes you did in this PR. To me it is irrelevant which PR gets in, we just need to make sure the debugger statements issue is fixed as well.

@blagoev
Copy link
Contributor

blagoev commented Mar 24, 2016

@slavchev Have you tested this with the {N} VS code extension. It seems to me the extension will not work when doing an Attach command.

logger.write("Enabling Debugger Agent");
enable();

boolean shouldDebugBrake = getDebugBreakFlagAndClearIt();

This comment was marked as abuse.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep a typo, 10x

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

@slavchev
Copy link
Author

run ci

@Plamen5kov Plamen5kov merged commit cb5b3a1 into master Apr 18, 2016
@slavchev slavchev deleted the slavchev/fix-issue-397 branch April 19, 2016 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants