Skip to content

Adding breakpoint to events that are raised during the "loading" of a Page are not hit the first time that Page is navigated to #248

@VladimirAmiorkov

Description

@VladimirAmiorkov

Environment

  • CLI: 5.2.4
  • Cross-platform modules: 5.3.0
  • Android Runtime: 5.2.0
  • iOS Runtime:5.2.0
  • Plugin(s):
  • VSCode: 1.32.3 (1.32.3)

Describe the bug
When I place a breakpoint in an event that is consider to be raised very quickly like the onLoaded event of a Page, that breakpoint is not hit if this is the first navigation to that Page in the app's lifecycle. After that if you go back to the previous Page and navigate again to the other one the breakpoint is hit correctly.

To Reproduce
Using the nativescript-ui-listview demo application that can be found here simply add a breakpoint here, start the app and navigate to the "Getting Started" example.

Expected behavior
Breakpoints are hit correctly no matter where they are placed in the app's code.

Sample project
Using the nativescript-ui-listview demo application that can be found [here]

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions