简体   繁体   中英

Step into -[NSInvocation invoke] during debugging

When debugging Objective-C code, lldb skips calls to objc_msgSend and stops in the actual method being called.

I'd like to have similar behavior when debugging some code that uses NSInvocation . When reaching the point where -[NSInvocation invoke] is called, I'd like to make a 'step-in' command and skip objc_msgSend , -[NSInvocation invoke] , __invoking___ and objc_msgSend and land on the actual method.

Are there some LLDB settings that can be used to achieve this?

lldb doesn't have native support for NSInvocation.

If you're so inclined, please file a bug about this. Since it's ObjC specific, probably better to file it with http://bugreporter.apple.com .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM