lldb: add gdbserver connection template
Can be better customized in a personal languages.toml for perfect fit
This commit is contained in:
parent
6aa9838ea6
commit
cde57dae35
1 changed files with 18 additions and 0 deletions
|
@ -29,6 +29,12 @@ request = "attach"
|
||||||
completion = [ "pid" ]
|
completion = [ "pid" ]
|
||||||
args = { console = "internalConsole", pid = "{0}" }
|
args = { console = "internalConsole", pid = "{0}" }
|
||||||
|
|
||||||
|
[[language.debugger.templates]]
|
||||||
|
name = "gdbserver attach"
|
||||||
|
request = "attach"
|
||||||
|
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
||||||
|
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "toml"
|
name = "toml"
|
||||||
scope = "source.toml"
|
scope = "source.toml"
|
||||||
|
@ -97,6 +103,12 @@ request = "attach"
|
||||||
completion = [ "pid" ]
|
completion = [ "pid" ]
|
||||||
args = { console = "internalConsole", pid = "{0}" }
|
args = { console = "internalConsole", pid = "{0}" }
|
||||||
|
|
||||||
|
[[language.debugger.templates]]
|
||||||
|
name = "gdbserver attach"
|
||||||
|
request = "attach"
|
||||||
|
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
||||||
|
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "cpp"
|
name = "cpp"
|
||||||
scope = "source.cpp"
|
scope = "source.cpp"
|
||||||
|
@ -125,6 +137,12 @@ request = "attach"
|
||||||
completion = [ "pid" ]
|
completion = [ "pid" ]
|
||||||
args = { console = "internalConsole", pid = "{0}" }
|
args = { console = "internalConsole", pid = "{0}" }
|
||||||
|
|
||||||
|
[[language.debugger.templates]]
|
||||||
|
name = "gdbserver attach"
|
||||||
|
request = "attach"
|
||||||
|
completion = [ { name = "lldb connect url", default = "connect://localhost:3333" }, { name = "file", completion = "filename" }, "pid" ]
|
||||||
|
args = { console = "internalConsole", attachCommands = [ "platform select remote-gdb-server", "platform connect {0}", "file {1}", "attach {2}" ] }
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "c-sharp"
|
name = "c-sharp"
|
||||||
scope = "source.csharp"
|
scope = "source.csharp"
|
||||||
|
|
Loading…
Add table
Reference in a new issue