-
Notifications
You must be signed in to change notification settings - Fork 34
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
SketchUp crashes when launched with debugger on Monterey 12.01 and Apple silicon #34
Comments
There's yet to be a release of SketchUp that support Monterey, ditto for native M1 support. When that is released we'll be making another build of the debugger and make it available. |
Just seen the updated debugger. It still crashes. I have tested it on SU21 and SU22 (Monterey and Apple Silicon). I have just sent the crash report (Crash #185). I am using vscode. In
and in
Any change required? |
hm... I'm not sure what's going on. Could you try building it yourself, that should give you debug symbols? And then lunching SU with a debugger attached? In the crash report we're getting it doesn't collect symbols for the debugger since it's a separate library. Should be only a matter of opening the Xcode project and building. No external dependencies. |
I can try! :-) Never done it before and Xcode is quite intimidating. Will let you know how it goes |
I know, macOS is not within my comfort zone either. (I'm going to double check on my end here, though I don't have a Monterey machine) |
OK. I managed to compile it, but it still crashes. I have sent the two report (2021 and 2022) I have used the file from the folder
|
I'm not sure if you can load the Debug dylib in a Release app. Refer to this page for how to use |
Don't worry. No luck unfortunately SU2021 Crash #407556 |
Are you able to launch SU with the debugger attached, so you can break on the crash? We won't get the debug symbols reported in our tracker, so you'd have to report here. |
Do you mean with this command?
If so, yes. |
Do you want me to copy the content of the crash report here? |
I have the same problem here. M1 Monterey |
You need to download the repository. It is in the Curious to see if works for you. It still doesn't for me |
Boy! this is a lot of work installing & configuring all the required apps. |
@mariocha hava a look at @thomthom reply above
|
Please, with such long files (like in the 1st post,) do not copy and paste them. |
@DanRathbun Done. Much better. I had not realised you could attach files. |
Ok , I managed to build a dylb. But the 12 errors mentioned above are still indicated, so .... I am rather sceptic . |
I am also getting crashes when I launch SketchUp, whether directly from the Terminal or from VS Code. My system is a 2019 16" MacBook Pro running macOS Monterey 12.2.1. One example BugSplat #3412. The head of the crash report looks like this, which appears to indicate an exception from the code that tries to open a socket for the debug connection? Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread |
I tried building according to the directions. It still crashes. Attached is the full crash report |
I also tried local build of the 1.4.0.0 source. BugSplat Crash #3521 |
My C++ is a bit rusty, but it looks to me as if the boost library is throwing an exception after failing to bind the socket for the ruby debugger to listen on. |
hm... yea, seems to be a boost error being thrown there... I need to get my hands on a machine with matching OS for this one I think.... |
Having the same issue on MacOS 12.3 (Monterey) on Intell |
@thomthom I was wondering whether there was some progress on this. I did not see any update in the forum. Thanks! |
After upgrading to Monterey I'm seeing this on my own system as well. |
Turns out macOS Monterey is using port 7000. And RubyDebugger doesn't handle a failed connection - it just crashes. Try with a different port and let me know. |
The good news is that it does not crash using port 7354. This port is not used according to The bad news is that the breakpoints are not triggered. It has been a while, but from memory, SketchUp used to hang until the debugger was launched. Now it does not happen. When you execute the script being debugged, vscode appears briefly, but then the focus goes back to SketchUp and nothing happens. I have also tried with the wait option
|
If you launch without using
Does the terminal output say anything like |
Nope This is the output
|
Just to double check what version of SU and what version of the SURubyDebugger build are you using? |
@thomthom Ignore previous message. I think I was still using one of the builds mentioned in the previous messages. I have downloaded the latest version Thanks for your help!! |
When using a different port, SketchUp will now launch for me with the Ruby debugger installed. However, the tutorial pages for setting up VSCode are horribly out of date and don't correspond to the current release (at least on Mac, don't know about Windows but I'd expect it is the same)! Any chance of getting them updated? That would save us a lot of time searching help for how to do the required setups. |
Yea, the docs deserve a refresh. (This should improve when we get the new position filled: https://forums.sketchup.com/t/were-hiring-technical-support-engineer/212177) Meanwhile, the VSCode project example is probably the most up to date. |
I'm leaving this issue open until we added improvement to the RubyDebugger such that it doesn't crash when a connection fails. |
Hi Thomas, I read all of the above. Any news on this? We need this debugger so badly... Before reading this I was testing on Ventura 13.0 with SU alpha version, 2022 an 2022, trying to get de debugger working, running into all of the same crashes. |
@jeroentheuns - have you checked if the port you are using is not already in use? The debugger will crash if it cannot connect. |
Thanks Thomas!
The port change made it work indeed. Now using port 7354
Super glad this works. (On MacOS Ventura 13.0)
Perhaps a good idea to at least mention this on the MacOS section on https://github.com/SketchUp/sketchup-ruby-debugger
Jeroen
… Op 24 nov. 2022, om 13:35 heeft Thomas Thomassen ***@***.***> het volgende geschreven:
@jeroentheuns <https://github.com/jeroentheuns> - have you checked if the port you are using is not already in use? The debugger will crash if it cannot connect.
—
Reply to this email directly, view it on GitHub <#34 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AATTO24DY3PTPPWGZ5XPBW3WJ5OH5ANCNFSM5KCALWWQ>.
You are receiving this because you were mentioned.
|
I am trying to update my development environment to Apple Silicon (M1 Pro) with Monterey 12.0.1. Sketchup works fine, but when I launch Sketchup with the debugger it crashes immediately. The same debugger 1.3.0 works fine in BigSur with intel.
Bugsplat attached
bugsplat.txt
The text was updated successfully, but these errors were encountered: