-
Notifications
You must be signed in to change notification settings - Fork 32
Description
Environment
- CLI: 5.4.0-2019-05-02-13208
- Cross-platform modules: 5.3.1
- Android Runtime: not tested
- iOS Runtime: 5.3.0
- Plugin(s):
"dependencies": {
"nativescript-image": "~2.1.0",
"nativescript-theme-core": "^1.0.4",
"nativescript-ui-listview": "../src",
"nativescript-unit-test-runner": "^0.3.4",
"tns-core-modules": "^5.0.0"
},
"devDependencies": {
"@types/chai": "^4.0.2",
"@types/mocha": "^2.2.41",
"@types/node": "^7.0.5",
"jasmine-core": "^2.5.2",
"karma": "^1.3.0",
"karma-jasmine": "^1.0.2",
"karma-nativescript-launcher": "^0.4.0",
"markdown-snippet-injector": "^0.2.2",
"mocha": "^3.3.0",
"mocha-junit-reporter": "^1.18.0",
"mocha-multi": "^1.0.1",
"mochawesome": "^3.1.1",
"nativescript-css-loader": "~0.26.1",
"nativescript-dev-appium": "5.0.0",
"nativescript-dev-typescript": "~0.9.0",
"nativescript-dev-webpack": "^0.22.0-next-2019-04-17-111030-01",
"tns-platform-declarations": "^5.0.0",
"tslint": "~5.11.0"
},
Describe the bug
First scenario:
After installing the @next when using VS Code to either Attach to iOS or Lunch on iOS any break points placed in a plugin that is using symlink and is in node_modules is not hit.
Second scenario:
A different scenario that also does not hit its break points is adding a break point to a non symlink plugin in node_modules but in the platform specific file (.ios.js). In this scenarios a break point in the non platform specific file is hit.
To Reproduce
First scenario:
Using this demo app if you symlink the nativescript-ui-listview code if you place a break point in VS Code in the createNativeView in the node_modules/nativescript-ui-listview/ui-listview.ios.ts file it will not be hit after you navigate to for example "Getting Started" page. (both breakpoints in platform specific and non platform specific files are not hit)
Second scenario:
Using this demo if you place a break point in VS Code at viewDidLayoutSubviews in the node_modules/tns-core-modules/ui/page/page.ios.js. (only breakpoints in platform specific files are not hit)
Expected behavior
Break points in VS Code are hit in both platform specific files and in symlink plugins in node_modules