change cmake or cmake -D CMAKE_BUILD_TYPE=Debug ..
set(CMAKE_BUILD_TYPE Debug)
breakpoint set --name MoveTile
b -n MoveTile


(lldb) breakpoint set --file puzzle.cpp --line 45
b puzzle.cpp:45
(lldb) watchpoint set variable move_index
w s v move_index
https://lldb.llvm.org/use/map.html
| Command Name | Command |
|---|---|
| Rresume excution | c |
| step in | s |
| step over | n |
| print backtrace | bt |