Skip to content

[iOS] [Simulator] Inspecting an NSValue object causes the debug session to hang #261

Open
@VladimirAmiorkov

Description

@VladimirAmiorkov

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: 6.0.2
  • Cross-platform modules: 6.0.4
  • iOS Runtime: 6.0.1
  • Plugin(s):
  • VSCode: 1.36.1 (1.36.1)

Describe the bug
When you hit a breakpoint where there is an NSValue object and you try to inspect that object VS Code hangs and you can no longer proceed with the debug session.

To Reproduce
Start any NativeScript app and add a breakpoint to this row: https://github.com/NativeScript/NativeScript/blob/09d370919f909aa4f89a350c04fd9d80b76fe9ca/tns-core-modules/application/application.ios.ts#L158. Try to inspect it and after that go to the next row in the debug session.

Expected behavior
Inspecting an NSValue object works.

Sample project

Workaround
Doing the same using Chrome Dev tools works as expected.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions