Xcode debugging - quickly step over assembly code back to my custom code

I'm still new to xcode. I have a UNCHECKED “demo-debugging demo” debugging, but I know that when I go through my own code, I will still regularly get into assembly code when calling system methods.

My question is: is there a way to quickly go to assembler in the NEXT line of my own code, and not endlessly hit F6 or F8. I know that, in advance, I can set a new breakpoint at the next custom method to be called and press the start button, but when I quickly go through my code, I usually don’t know in advance when the debugger will throw me into the assembly code, and when that happens, it’s too late to click the "go to the next breakpoint" button. Any help was appreciated.

EDIT - thanks for the offer to "continue the current line", but often, when I try to do this, I put the cursor in a line of my own code, and the "Continue current line" command in the debug menu is grayed out. also, I usually don’t know in advance when the code execution will re-enter my own code, so I could put the cursor in a spot that would not normally be called. Basically, I'm trying to find out the execution order of my code, step by step, line by line. Every time I get thrown into disassemby, I don’t know in advance when the order of execution again enters my own code (most of which may be different human code), so pressing continues often leads me to the end of the assembly and no one is wiser than them the way. The only option I see- it is endlessly pressing Fn-F8, which is the right pain. Is something missing for me?

EDIT - thanks @Jim for your suggestion. still no luck, I checked your code (lldb) "break set -r. * -s MyBinary", replacing MyBinary with the name of the im application trying to set breakpoints for all methods, and all I get is "Breakpoint 2: no locations (pending) WARNING: It is not possible to resolve breakpoints in any real places.I searched this page on this page How do I automatically set breakpoints for all methods in Xcode? and this page indicates that a set of word breaks should be set to the breakpoint, and there is no * after. so I tried this, and The same error message appears and no breakpoints are set.Any suggestions?

+4
2

- , :

(lldb) break set -r .* -s MyBinary

"", . -s , .

lldb , , iOS. , .

, -t break set, .

, , . , - , , LHS, - "Thread 1: breakpoint 1.1", :

(lldb) break dis 1.1

, .

+1

, , . ^⌘C , . Debug ^⌘C Continue to Current Line.

0

All Articles