Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "version": "0.2.0",
- "configurations": [
- {
- "logToFile": true,
- "name": "Launch with GDB",
- "type": "cppdbg",
- "request": "launch",
- "program": "${workspaceRoot}/kernel/kernel.elf",
- "cwd": "${workspaceRoot}",
- "args": [],
- "targetArchitecture": "x64",
- "MIMode": "gdb",
- "miDebuggerPath": "${workspaceRoot}/bin/cross/bin/x86_64-elf-gdb",
- "miDebuggerArgs": "",
- "externalConsole": false,
- "customLaunchSetupCommands": [
- {
- "text": "target remote localhost:1234",
- "description": "Connect to QEMU remote debugger"
- }
- ],
- "setupCommands": [
- {
- "description": "Enable pretty-printing for gdb",
- "text": "-enable-pretty-printing",
- "ignoreFailures": true
- },
- {
- "text": "file ${workspaceRoot}/kernel/kernel.elf",
- "description": "Load binary."
- },
- {
- "text": "break isr_handler",
- "description": "Break on exception handler."
- },
- ],
- "preLaunchTask": "Launch QEMU",
- "postDebugTask": "Make Clean",
- "logging": {
- "engineLogging": true,
- "trace": true,
- "traceResponse": true
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement