Browse Source

"workingDirectory" and "arguments" used in CreateProcess

(Since 2.0.50215 this prevented the debugger to start)

git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@95 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
shortcuts
David Srbecký 21 years ago
parent
commit
b97b502dba
  1. 4
      src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Process.cs

4
src/AddIns/Misc/Debugger/Debugger.Core/Project/Src/Threads/Process.cs

@ -110,13 +110,13 @@ namespace DebuggerLibrary @@ -110,13 +110,13 @@ namespace DebuggerLibrary
fixed (uint* pprocessInfo = processInfo)
NDebugger.CorDebug.CreateProcess(
filename, // lpApplicationName
null, // lpCommandLine
arguments, // lpCommandLine
ref secAttr, // lpProcessAttributes
ref secAttr, // lpThreadAttributes
1,//TRUE // bInheritHandles
0, // dwCreationFlags
IntPtr.Zero, // lpEnvironment
null, // lpCurrentDirectory
workingDirectory, // lpCurrentDirectory
(uint)pprocessStartupInfo, // lpStartupInfo
(uint)pprocessInfo, // lpProcessInformation,
CorDebugCreateProcessFlags.DEBUG_NO_SPECIAL_OPTIONS, // debuggingFlags

Loading…
Cancel
Save