diff options
| author | zy <[email protected]> | 2023-11-27 03:18:51 -0500 |
|---|---|---|
| committer | zy <[email protected]> | 2023-11-27 03:18:51 -0500 |
| commit | a56fa77dc824132c8df064c3398414ffaa0eedc6 (patch) | |
| tree | b5daaf3e20c3883e3d31dcf8e068b22a40305a88 /.vscode/launch.json | |
| parent | 308734c364ee4d1bd33f122429837b9d174038d7 (diff) | |
debug ucli
Diffstat (limited to '.vscode/launch.json')
| -rw-r--r-- | .vscode/launch.json | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json index 54cbfab..841649c 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,6 +5,32 @@ "version": "0.2.0", "configurations": [ { + "name": "(gdb) ucli", + "type": "cppdbg", + "request": "launch", + "program": "${workspaceFolder}/source/ucli/ucli", + "args": [], + "stopAtEntry": false, + "cwd": "${fileDirname}", + "environment": [], + "externalConsole": false, + "MIMode": "gdb", + "preLaunchTask": "make ucli", + "postDebugTask": "make clean ucli", + "setupCommands": [ + { + "description": "为 gdb 启用整齐打印", + "text": "-enable-pretty-printing", + "ignoreFailures": true + }, + { + "description": "将反汇编风格设置为 Intel", + "text": "-gdb-set disassembly-flavor intel", + "ignoreFailures": true + } + ] + }, + { "name": "(gdb) linux kernel", "type": "cppdbg", "request": "launch", |
