File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -297,27 +297,30 @@ String ReplaceVarsInString (String input)
297297 return sb . ToString ( ) ;
298298 }
299299
300- String GetVar ( String input )
301- {
302- switch ( input )
303- {
304- case "exe-path" :
305- return build_exe_path ;
306- case "mdb-path" :
307- return build_exe_path + ".mdb" ;
308- case "build-path" :
309- return Path . GetDirectoryName ( build_exe_path ) ;
310- case "work-dir" :
311- return WorkingDir ;
312- case "RemoteTunnelPort" :
313- return RemoteTunnelPort . ToString ( ) ;
314- case "exe-file" :
315- return Path . GetFileName ( build_exe_path ) ;
316- default :
317- return "?" ;
318-
319- }
320- }
300+ String GetVar ( String input )
301+ {
302+ switch ( input )
303+ {
304+ case "exe-path" :
305+ return build_exe_path ;
306+ case "mdb-path" :
307+ return build_exe_path + ".mdb" ;
308+ case "pdb-path" :
309+ //Replace Test.exe => Test.pdb
310+ return build_exe_path . Substring ( 0 , build_exe_path . Length - ".exe" . Length ) + ".pdb" ;
311+ case "build-path" :
312+ return Path . GetDirectoryName ( build_exe_path ) ;
313+ case "work-dir" :
314+ return WorkingDir ;
315+ case "RemoteTunnelPort" :
316+ return RemoteTunnelPort . ToString ( ) ;
317+ case "exe-file" :
318+ return Path . GetFileName ( build_exe_path ) ;
319+ default :
320+ return "?" ;
321+
322+ }
323+ }
321324
322325
323326 public SoftDebuggerStartInfo DebuggerInfo ( int consolePort = - 1 )
Original file line number Diff line number Diff line change 2727# [exe-file] = output .exe filename
2828# [exe-path] = path to output .exe
2929# [mdb-path] = path to output .exe.mdb
30+ # [pdb-path] = path to output .pdb
3031# [build-path] = path to output
3132# [work-dir] = remote working dir
3233
You can’t perform that action at this time.
0 commit comments