Lab: Data Lab¶
Abstract
Info
Lab0 实验环境搭建¶
vscode 环境配置¶
配置IntelliSense实现完美跳转
-
安装 bear
-
在xv6目录下执行
make clean && bear -- make qemu
,将会生成一个 compile_commands.json -
将 compile_commands.json 移动到 .vscode目录下
-
在.vscode目录下中为c_cpp_properties.json添加
运行用户程序
- 在vscode终端下的DEBUG CONSOLE下输入
调试指南¶
常见问题¶
qemu-system-riscv64: -gdb tcp::26000: Failed to find an available port: Address already in use
:
解放方法: