nativescript-vscode-extension icon indicating copy to clipboard operation
nativescript-vscode-extension copied to clipboard

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

Open VladimirAmiorkov opened this issue 5 years ago • 1 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: 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.

VladimirAmiorkov avatar Aug 01 '19 08:08 VladimirAmiorkov