How to specify source dirs with lldb?
How to specify source dirs with lldb?
- Subject: How to specify source dirs with lldb?
- From: Sak Wathanasin <email@hidden>
- Date: Tue, 15 Sep 2015 14:50:33 +0100
- Importance: Normal
For reasons I won't bore you with, I can't debug my app from within XC7 (GM). I can use lldb from
the terminal, but when it hits my breakpoint, I only see ASM not source code. It appears lldb
doesn't know where my src files are. Not sure why: I thought the paths would be embedded in the
obj files somewhere & I haven't moved them since I built the app.
Bit of googling tells me that I have to use the
settings set target.source-map xxx yyy
command. What I don't get is what to use for "xxx" and "yyy". When it hits my breakpoint, lldb
thinks it's in
/Users/swathanasin/Library/Developer/Xcode/DerivedData/xxxxxx/Build/Products/Debug/xyz.app/Contents/Frameworks/UVXYZ.framework/Versions/A/UVXYZ
Is "xxx" that entire path? Is "yyy" the root of my src tree? Clearly not since it didn't work. Any
ideas?
Does lldb search recursively or do I have I do specify a mapping for every src file that I might
want to debug?
Many thanks
--
Sak Wathanasin
Network Analysis Limited http://www.network-analysis.ltd.uk
3 Edison Buildings, Electric Wharf, Coventry CV1 4JA, UK
Registered in England No: 2407211
Phone: (+44) 24 7655 12 20 Mobile: (+44) 79 70 75 19 12
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden