LLDB

LLDB - 명령어 (8)

GREEN.1229 2021. 4. 25. 15:41

안녕하세요. 그린입니다🟢

이번 포스팅에서도 LLDB 명령어중 정리하지 못한 명령어에 대해 학습해보겠습니다🧑🏻‍💻

 

unalias: 별칭이 주어진것을 제거

(lldb) command unalias “별칭준것”

 

thread step-inst: 명령어의 안으로 들어감

(lldb) si

 

thread step-inst-over: 명령어의 한단계를 진행시킴

(lldb) ni

 

thread until 라인or프레임: 해당 라인 혹은 프레임까지 스레드를 진행

 

thread list: 현재 스레드 리스트를 출력

  --> * 현재 스레드를 나타냄

 

thread backtrace: 스레드 역추적

 -. 함축어: bt

 

thread return <Return Expression>: 해당 프레임에서 스레드 즉시 반환

 

frame variable: 해당 프레임에 선언된 변수와 인수 표시

 

frame variable —no-args: 해당 프레임에 변수만 표시

 

target variable 전역변수: 전역변수 표시

  --> 전역변수가 없는 경우

 

thread jump —line: 해당 스레드 라인으로 이동

 

thread jump —by (+1 / -1): 해당 스레드의 현재 위치에서 +1 / -1 만큼 이동

 

[참고자료]

https://lldb.llvm.org/use/map.html