Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
SmartKeyerror committed Aug 17, 2021
1 parent 3c81ac9 commit 0447674
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

## leveldb 源码解析
## leveldb 源码阅读

### 1. Build && Install && Debug

Expand All @@ -20,4 +20,6 @@ mkdir -p build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug .. && cmake --build .
make && make install
gdb leveldb_debug # 此时 leveldb_debug 就在 build 目录下,可直接进行 gdb 调试
```
```

如果使用 CLion 的话,可以直接对 `leveldb_debug.cc` 进行 debug,比 gdb 要更方便一些。

0 comments on commit 0447674

Please sign in to comment.