Support selection between different debuggers.
Specify the debugger binaries, args to run with. Specify path remaps: It's typical to remap path embedded in dwarf (as the exe was built) to the location of the source on your own pc.
This commit is contained in:
parent
f07b28b1c0
commit
4ce26b3c9e
@ -240,6 +240,24 @@
|
||||
},
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "debugger",
|
||||
scope = "config",
|
||||
kind = "string",
|
||||
allowed = {
|
||||
"Default",
|
||||
"GDB",
|
||||
"LLDB",
|
||||
}
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "debugpathmap",
|
||||
scope = "config",
|
||||
kind = "list:keyed:path",
|
||||
tokens = true,
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "debugport",
|
||||
scope = "config",
|
||||
@ -267,6 +285,22 @@
|
||||
tokens = true,
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "debugtoolargs",
|
||||
scope = "config",
|
||||
kind = "list:string",
|
||||
tokens = true,
|
||||
pathVars = true,
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "debugtoolcommand",
|
||||
scope = "config",
|
||||
kind = "path",
|
||||
tokens = true,
|
||||
pathVars = true,
|
||||
}
|
||||
|
||||
api.register {
|
||||
name = "defaultplatform",
|
||||
scope = "project",
|
||||
|
Reference in New Issue
Block a user