This is useful for answering the question "where am I?" and is surprisingly
difficult to figure out without just doing another step command.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
https://lldb.llvm.org/use/map.html#examining-thread-state if you want to see the current page.
Comment Actions
f with no input does this job:
(lldb) f
frame #1: 0x0000000100003f70 callem`nothing at callem.c:3
   1   	int nothing(int input) {
   2   	  if (input < 10) {
-> 3   	    return nothing(++input);
    	           ^
   4   	  }
   5   	  return input;
   6   	}
   7   	
(lldb) up
frame #2: 0x0000000100003f70 callem`nothing at callem.c:3
   1   	int nothing(int input) {
   2   	  if (input < 10) {
-> 3   	    return nothing(++input);
    	           ^
   4   	  }
   5   	  return input;
   6   	}
   7   	
(lldb) f
frame #2: 0x0000000100003f70 callem`nothing at callem.c:3
   1   	int nothing(int input) {
   2   	  if (input < 10) {
-> 3   	    return nothing(++input);
    	           ^
   4   	  }
   5   	  return input;
   6   	}
   7   	
(lldb)etc...