Skip to content

Commit 038c13b

Browse files
committed
Merge pull request go-lang-plugin-org#652 from d3xter/fix_651
Pass the script arguments into Debugger
2 parents b5520fd + 1ccce5b commit 038c13b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/ro/redeul/google/go/runner/GoApplicationRunner.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ public void onGdbCommandCompleted(GdbEvent event) {
130130

131131
gdbProcess.sendCommand("file " + execName);
132132

133+
//If we got any script arguments, pass them into gdb
134+
if(!configuration.scriptArguments.equals("")) {
135+
gdbProcess.sendCommand("set args " + configuration.scriptArguments);
136+
}
137+
133138
debugSession.initBreakpoints();
134139

135140
// Send startup commands

0 commit comments

Comments
 (0)