(substitutions: { [index: string]: string })
| 142 | |
| 143 | // Add extra commands for source file path substitution in GDB-specific syntax |
| 144 | protected setPathSubstitutions(substitutions: { [index: string]: string }): void { |
| 145 | if (substitutions) { |
| 146 | Object.keys(substitutions).forEach(source => { |
| 147 | this.miDebugger.extraCommands.push("gdb-set substitute-path \"" + escape(source) + "\" \"" + escape(substitutions[source]) + "\""); |
| 148 | }); |
| 149 | } |
| 150 | } |
| 151 | } |
| 152 | |
| 153 | DebugSession.run(GDBDebugSession); |
no test coverage detected