Issues.00539 - lordmundi/wikidoctest GitHub Wiki
00539: make integrated debugger capability compatible with lldb
Summary: make integrated debugger capability compatible with lldb
Created: 2015–05–04 14:29
Status: Released
Category: Request
From: frankie
Version: 2.3
Released_In: 2.4
Description:
when you run with the EDGE_DEBUG environment variable set, EDGE will try to automatically run inside the gdb debugger and set up all the command line arguments for you.
However, on mac, they have moved away from gdb and now only provide lldb.
Some of the commands and arguments to lldb are slightly different. This is a request to detect when the host is Mac and switch the debugger to lldb and make the arguments compatible.
Comments
frankie May 04, 2015, at 02:34 PM: If you want to do this yourself, just edit the run script you are using (run_blank_graphics or run_graphics) and switch the line that launches the debugger from:
set doug_exec="gdb --args $doug_exec"
to:
set doug_exec="lldb -- $doug_exec"
Notice that it is only "--" and not "--args". You can find other translations between gdb and lldb here: http://lldb.llvm.org/lldb-gdb.html