Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (49 sloc) 1.98 KB
{
"version": "0.2.0",
"configurations": [
{
"name": "MIPS Load",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/program.elf",
"cwd": "${fileDirname}",
"miDebuggerPath": "d:/CODESC~1/TOOLCH~1/mips-mti-elf/2016.05-03/bin/mips-mti-elf-gdb.exe",
"setupCommands": [
{"text": "file 'D:/mipsfpga-plus/programs/00_counter/program.elf'"},
{"text": "target remote localhost:3333"},
{"text": "set endian little"},
{"text": "monitor reset halt"},
{"text": "load"},
{"text": "br main"},
{"text": "monitor continue"}
],
"customLaunchSetupCommands": [],
"launchCompleteCommand": "None",
"targetArchitecture": "mips"
//Uncomment this to debug
//,"logging": { "engineLogging": true }
//or this for verbose debug
//,"logging": { "engineLogging": true, "trace": true, "traceResponse": true }
},
{
"name": "MIPS Attach",
"type": "cppdbg",
"request": "launch",
"program": "${fileDirname}/program.elf",
"cwd": "${fileDirname}",
"miDebuggerPath": "d:/CODESC~1/TOOLCH~1/mips-mti-elf/2015.06-05/bin/mips-mti-elf-gdb.exe",
"setupCommands": [
{"text": "file 'D:/mipsfpga-plus/programs/00_counter/program.elf'"},
{"text": "target remote localhost:3333"},
{"text": "set endian little"}
],
"customLaunchSetupCommands": [],
"launchCompleteCommand": "None",
"targetArchitecture": "mips"
//Uncomment this to debug
//,"logging": { "engineLogging": true }
//or this for verbose debug
//,"logging": { "engineLogging": true, "trace": true, "traceResponse": true }
}
]
}