From 91774d3b6cd5af1c623ce725d6e6ecc26d91c2fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A1rcio=20F=C3=A1bio=20Althmann?=
 <marcio@marcioalthmann.net>
Date: Wed, 10 Feb 2016 12:40:18 -0200
Subject: [PATCH] =?UTF-8?q?Iniciando=20(depurando)=20aplica=C3=A7=C3=A3o?=
 =?UTF-8?q?=20com=20argumentos?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Ajuste para conseguir depurar uma aplicação iniciando com argumentos na
linha de comando
---
 .../Debugger.Core/Interop/CorDebugExtensionMethods.generated.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/AddIns/Debugger/Debugger.Core/Interop/CorDebugExtensionMethods.generated.cs b/src/AddIns/Debugger/Debugger.Core/Interop/CorDebugExtensionMethods.generated.cs
index 44595cee93..8fc058b26d 100644
--- a/src/AddIns/Debugger/Debugger.Core/Interop/CorDebugExtensionMethods.generated.cs
+++ b/src/AddIns/Debugger/Debugger.Core/Interop/CorDebugExtensionMethods.generated.cs
@@ -170,7 +170,7 @@ namespace Debugger.Interop.CorDebug
 		uint lpProcessInformation, CorDebugCreateProcessFlags debuggingFlags)
 		{
 			ICorDebugProcess ppProcess;
-			instance.__CreateProcess(lpApplicationName, lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation,
+			instance.__CreateProcess(lpApplicationName, lpApplicationName + lpCommandLine, ref lpProcessAttributes, ref lpThreadAttributes, bInheritHandles, dwCreationFlags, lpEnvironment, lpCurrentDirectory, lpStartupInfo, lpProcessInformation,
 			debuggingFlags, out ppProcess);
 			ProcessOutParameter(lpProcessAttributes);
 			ProcessOutParameter(lpThreadAttributes);