Browse Source

修复调试环境

修复了在trap.c中设断点无效的问题;
修复了trap.c无法显示trap.h中的代码提示的问题。
main
os_lab_user 7 months ago
parent
commit
8b4ccf9bd1
2 changed files with 16 additions and 1 deletions
  1. +15
    -0
      .vscode/c_cpp_properties.json
  2. +1
    -1
      .vscode/launch.json

+ 15
- 0
.vscode/c_cpp_properties.json View File

@ -0,0 +1,15 @@
{
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/labcodes_answer/**/"
],
"defines": [],
"compilerPath": "/usr/bin/gcc",
"intelliSenseMode": "linux-gcc-x64"
}
],
"version": 4
}

+ 1
- 1
.vscode/launch.json View File

@ -8,7 +8,7 @@
"name": "(gdb) 启动",
"type": "cppdbg",
"request": "launch",
"program": "obj/bootblock.o",
"program": "bin/kernel",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/labcodes_answer/lab1_result",

Loading…
Cancel
Save