Re: [lldb-dev] getting filename/line #

2018-06-21 Thread Randy Heiland via lldb-dev
Indeed, thanks Greg. It dawned on my 1 min after I sent my post that I failed to change my compile flags. Red-faced Duh. But thanks for the additional info! On Thu, Jun 21, 2018 at 11:34 AM, Greg Clayton wrote: > I am guessing you don't have debug info enabled. Add "-g" to your command > line wh

Re: [lldb-dev] getting filename/line #

2018-06-21 Thread Greg Clayton via lldb-dev
I am guessing you don't have debug info enabled. Add "-g" to your command line when compiling. Or enable debug info in the Xcode settings. On Mac, debug info is contained in the .o files. The main executable doesn't have any debug info, but it has a debug map that tells LLDB how to link the deb

[lldb-dev] getting filename/line #

2018-06-21 Thread Randy Heiland via lldb-dev
I cannot figure how to get a backtrace with filenames/line #s. Suggestions? (And if this list is not the proper one to ask such questions, please redirect me) On OSX with: $ lldb --version lldb-900.0.64 Swift-4.0 For example: (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason =