android
android copied to clipboard
Chrome DevTools: Error is shown in Chrome's Console when try to console.trace()
Environment
- Cross-platform modules:5.2.2
- Android Runtime: tried these versions:
5.2.1
,5.2.0
,5.1.0
,5.0.0
andnext
Describe the bug Error is shown in Chrome DevTools Console when try to console.trace()
main-view-model.js:29 Trace
at HelloWorldModel.onTap (file:///data/data/org.nativescript.TestAppTr/files/app/main-view-model.js:29:17)
at Observable.notify (file:///data/data/org.nativescript.TestAppTr/files/app/tns_modules/tns-core-modules/data/observable/observable.js:107:32)
at Observable._emit (file:///data/data/org.nativescript.TestAppTr/files/app/tns_modules/tns-core-modules/data/observable/observable.js:127:18)
at ClickListenerImpl.onClick (file:///data/data/org.nativescript.TestAppTr/files/app/tns_modules/tns-core-modules/ui/button/button.js:26:23)
To Reproduce
-
tns create TestApp --ts
- Add
console.trace();
-
tns debug android
- Open URL in Chrome and execute the code that calls console.trace();
Expected behavior console.trace() call stack to be logged in Chrome DevTools Console
Sample project
Additional context
When tns run android
the same content is logged by CLI.