4 ms·
Meanwhile, if you try to run the system lldb on the system ruby interpreter on OSX, you get this: % lldb ruby (lldb) target create "ruby" Current executa
by 0x0 10y ago
Meanwhile, if you try to run the system lldb on the system ruby interpreter on OSX, you get this:
% lldb ruby
(lldb) target create "ruby"
Current executable set to 'ruby' (x86_64).
(lldb) run
error: process exited with status -1
(cannot attach to process due to System Integrity Protection)
- GuiA 10y agoReboot in safe mode (⌘+R immediately after booting), open a terminal, run: csrutil disable Reboot. -> % lldb ruby (lldb) target create "ruby" Current executable set to 'ruby' (x86_64). (lldb) run Process 436 launched: '/usr/bin/ruby' (x86_64) I for one am glad that it's now much harder to scam my grandparents.
- 0x0 10y agoThat disables a lot of useful protections, seems overkill just to be able to trace a ruby script :-/
- ryanlm 10y agoAnd this is why I won't ever switch to OS X full time, and I'll stay with Linux for all my systems level programming. The low level tools just aren't there. With Linux, I've got gdb, objdump, strace, what have you. I'd have to compile most systems level tools from source on Apple laptop. It's great for app developers, but I mainly do systems level things for personal projects, and I don't want to have to compile _tools_ from scratch. The hardware is awesome and I love the shiny box and the sleek design. I've been using a macbook pro all summer, and the only thing that I'm sold on is the hardware design / case. The charger is nice too.
- umanwizard 10y agoWhat's with the tone here? You sound pretty angry while making an argument that largely boils down to "different tools are better for different use cases".
- ryanlm 10y agoBecause I don't understand the glory of owning one of these machines
- mwfunk 10y agoThen maybe you're not qualified to make such judgements?
- umanwizard 10y agoBut you already said you understand the utility for some people. That's the glory. Yours is a use case that's probably that of fewer than 0.1% of people who own Macs.
- zZorgz 10y agocp /usr/bin/ruby ~/Desktop/ruby lldb ~/Desktop/ruby :-)
- umanwizard 10y agocp `which ruby` ~ ; lldb ~/ruby