Skip to content

Reading collisionBoundingPath on UIView results in Objective C exception #978

Closed
@MartoYankov

Description

@MartoYankov

If there is no issue for your problem, tell us about it

collisionBoundingPath is an optional property and might not have a setter/getter. Visual Studio Code debugger tries to read all properties of a native object and tries to call it resulting in exception (CoreFoundation) -[UIScrollView collisionBoundingPath]: unrecognized selector sent to instance 0x7fb0ca8cea00. This currently breaks the app and debugging stops. Connected to nativescript-community/nativescript-vscode-extension#198

Please, provide the following version numbers that your issue occurs with:

  • CLI: 4.2.0
  • Cross-platform modules: 4.2.0
  • Runtime(s): 4.2.0

Please, tell us how to recreate the issue in as much detail as possible.

Debug an app and hover over any variable/property that holds a native object.

Is there any code involved?

my-blank-ts.zip

  1. Start the app with VS Code debug
  2. Set a breakpoint in app/home.1/home-page.ts line 17
  3. Tap on Navigate to Second
  4. Once the breakpoint hits, hover over the native variable.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions