NativeScript / ios-jsc

NativeScript for iOS using JavaScriptCore

Home Page:http://docs.nativescript.org/runtimes/ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to debug onNavigatingTo event

vchimev opened this issue · comments

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.0.1
  • Cross-platform modules: 5.0.2
  • iOS Runtime: 5.0.0

Describe the bug

Unable to debug onNavigatingTo in the main-page of a default template-hello-world-ts application.

To Reproduce

  • tns create appTs --ts
  • set a breakpoint here
  • tns debug ios --debug-brk

Expected behavior
After stopping at first line of the application to hit the breakpoint in main-page.ts

Additional context
Reproducible both in VSCode and Chrome DevTools. This works as expected on Android.

Still reproduces with:

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

Could be related to: #1063.