-
-
Notifications
You must be signed in to change notification settings - Fork 197
tns debug
crash + node-sass process stacking
#2841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi @SBats, I cannot reproduce the issue using your steps. Could you give more info - do you get the issue on a device or a simulator. Can you reproduce it using our sample hello world template? Thanks! |
Hi @pkoleva and thanks for your help. Here are two consectuive runs detailed log with the command First run
Loading extensions. stderr: stderr: Exec xcodebuild -version stderr: stderr: stderr: stderr: stderr: '', exitCode: 1 } The result of checking is Android Emulator installed is:
stderr: stderr: Exec "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac" -version System information: stderr: stderr: Starting iOS Simulator Setting up debugger proxy... Opened localhost 8080 Project dir from hooksArgs is: undefined.
Executable module set to "/Users/batsman/Library/Developer/CoreSimulator/Devices/1A967209-D45D-42E5-9C47-2A1E78828D49/data/Containers/Bundle/Application/0A278B3E-50C6-4FDB-932B-68F07C86CD77/HelloWorld.app/HelloWorld". (lldb) process detach Second run
tns debug ios --chrome --log trace stderr: stderr: Exec xcodebuild -version stderr: stderr: stderr: stderr: stderr: '', exitCode: 1 } The result of checking is Android Emulator installed is:
stderr: stderr: Exec "/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac" -version System information: stderr: stderr: Starting iOS Simulator Setting up debugger proxy... Opened localhost 8080 Project dir from hooksArgs is: undefined.
Executable module set to "/Users/batsman/Library/Developer/CoreSimulator/Devices/1A967209-D45D-42E5-9C47-2A1E78828D49/data/Containers/Bundle/Application/0A278B3E-50C6-4FDB-932B-68F07C86CD77/HelloWorld.app/HelloWorld". (lldb) process detach In both cases, I just set the text of the `Label` line `28` in the `main-page.xml` file to `Tap on button`. And it crash. If I can provide anything else to help you on this please le t me know (versions installed of various things, etc...) edit:
|
Hi @SBats Do you still encounter the issues? To be honest I have no ideas what cause the problem and I'm just guessing. |
Hi @dtopuzov, thank you for spending time on this! Yes I still have this issue. I'll give a try without |
Related to #2456 |
I've tried a fresh install of both node v6 and v8 and I still got this issue. If it ever could be interesting, here is another error I had after reopening connexion between the debugger and the instance of
|
Thank you a lot for digging this! Thank you a lot for your help! TLDR: This issue seemed to be caused by a too small limit of simultaneously opened file on mac os system. You can increase it following those instructions. |
Hi,
First of all thanks for the awesome work you do on Nativescript and on the toolchain!
Did you verify this is a real problem by searching
I wasn't able to find an existing specific issue related to this one.
Tell us about the problem
Since I upgraded to v3 of Nativescript (Both CLI and app), I'm unable to use
tns debug
anymore.On first launch it simply stop the process in the console as soon as I load the debugger URL in my browser. If I relaunch it a second time I can connect but as soon as I make a change (for example in the view template), the process stop again.
On another hand both
ios-sim-standalone.js launch
andnode-sass
processes are still activ if I monitor my system and stack on each crash (So after 3 crash I have 3 of each process active)Which platform(s) does your issue occur on?
TNS platform: iOS (Not tested on Android)
Development System: macOS Sierra (10.12.4) on a Early 2015 MacBook Pro
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
1st try
tns create HelloWorld
cd HelloWorld~
tns debug ios --chrome`2nd try
tns debug ios --chrome
Change
text
oflabel
inmain-page.xml
Is there code involved? If so, please share the minimal amount of code needed to recreate the Just using basic tns create app.
Thank you in advance for your help and time on this!
The text was updated successfully, but these errors were encountered: