OK @agriggio, lldb seems to work, sorta:
lldb /Applications/RawTherapee-debug.app/Contents/MacOS/rawtherapee-bin
(lldb) target create "/Applications/RawTherapee-debug.app/Contents/MacOS/rawtherapee-bin"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb/__init__.py", line 98, in <module>
import six
ImportError: No module named six
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
That error gets repeated a zillion times here…
then…
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Current executable set to '/Applications/RawTherapee-debug.app/Contents/MacOS/rawtherapee-bin' (x86_64).
(lldb) run
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Process 8161 launched: '/Applications/RawTherapee-debug.app/Contents/MacOS/rawtherapee-bin' (x86_64)
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
Again this error gets repeated a zillion times…
then …
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
Traceback (most recent call last):
File "<string>", line 1, in <module>
NameError: name 'run_one_line' is not defined
objc[8161]: Class GNotificationCenterDelegate is implemented in both /Applications/RawTherapee-debug.app/Contents/Frameworks/libgio-2.0.0.dylib (0x101b8dfc0) and /opt/local/lib/libgio-2.0.0.dylib (0x109a03fc0). One of the two will be used. Which one is undefined.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): Gdk-WARNING **: GdkQuartzDisplay does not implement the monitor vfuncs
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): glibmm-WARNING **: Failed to wrap object of type 'gtkmm_CustomObject_iface_properties'. Hint: this error is commonly caused by failing to call a library init() function.
(rawtherapee-bin:8161): Gtk-CRITICAL **: gtk_window_set_default_icon: assertion 'GDK_IS_PIXBUF (icon)' failed
Process 8161 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x0000000109676749 libgobject-2.0.0.dylib`g_object_unref + 161
libgobject-2.0.0.dylib`g_object_unref:
-> 0x109676749 <+161>: movq $0x0, (%rax)
0x109676750 <+168>: movq (%rbx), %rdi
0x109676753 <+171>: movq %rdi, %rsi
0x109676756 <+174>: callq 0x109693100 ; symbol stub for: g_slist_delete_link
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
* frame #0: 0x0000000109676749 libgobject-2.0.0.dylib`g_object_unref + 161
frame #1: 0x00000001025260fc libgtk-3.0.dylib`gtk_window_set_default_icon_from_file + 37
frame #2: 0x0000000101e862ea libgtkmm-3.0.1.dylib`Gtk::Window::set_default_icon_from_file(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 40
frame #3: 0x0000000100536386 rawtherapee-bin`RTWindow::RTWindow(this=0x00000001097482b0) at rtwindow.cc:100
frame #4: 0x0000000100360054 rawtherapee-bin`main(argc=1, argv=0x00007fff5fbff7a0) at main.cc:372
frame #5: 0x00007fff9aa1f235 libdyld.dylib`start + 1
(lldb)
And so it fizzles. So lldb /seems/ to work, but I do get this crash.