Skip to content

The debugger does not stop at application launch #1063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vchimev opened this issue Jan 21, 2019 · 1 comment
Closed

The debugger does not stop at application launch #1063

vchimev opened this issue Jan 21, 2019 · 1 comment
Assignees
Labels
Milestone

Comments

@vchimev
Copy link

vchimev commented Jan 21, 2019

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.1.1
  • Cross-platform modules: 5.1.1
  • iOS Runtime: 5.1.1

Describe the bug

The debugger doesn't stop at application launch when: --debug-brk option is passed and the application's root is not a frame, i.e. SideDrawer, TabView.

To Reproduce

tns create my-tab-ts --template tns-template-tab-navigation-ts
cd my-tab-ts
tns debug ios --debug-brk

Expected behavior

The debugger to stop at application launch.

Sample project

Could be caused by: https://github.com/NativeScript/ios-runtime/blob/master/src/debugging/TNSDebugging.h#L362-L373.

@mbektchiev
Copy link
Contributor

Fixed with NativeScript/nativescript-cli#4296 and #1073

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants