From 1a147fa818ebdbe2a6ff6aa4d86a6cf14f1829ca Mon Sep 17 00:00:00 2001 From: mterwoord_cp <7cd3fd84a0151ea055c2f79e4d2eef9576fe9afesxUZAwxD> Date: Sat, 19 Feb 2011 16:06:44 +0000 Subject: [PATCH] --- source/Cosmos.sln | 2 +- source2/Debug/Cosmos.Debug.Common/DebugConnector.cs | 4 ++-- .../Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7StackFrame.cs | 3 +-- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/source/Cosmos.sln b/source/Cosmos.sln index 399b54955..3fb75e4bc 100644 --- a/source/Cosmos.sln +++ b/source/Cosmos.sln @@ -88,7 +88,7 @@ Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "Docs", "..\Docs", "{67E7DEF Release.AspNetCompiler.ForceOverwrite = "true" Release.AspNetCompiler.FixedNames = "false" Release.AspNetCompiler.Debug = "False" - VWDPort = "27136" + VWDPort = "28091" EndProjectSection EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.Compiler.Debug", "..\source2\IL2CPU\Cosmos.IL2CPU.Debug\Cosmos.Compiler.Debug.csproj", "{9998B4EA-385E-4DA2-8905-2BBEB5B2C6E2}" diff --git a/source2/Debug/Cosmos.Debug.Common/DebugConnector.cs b/source2/Debug/Cosmos.Debug.Common/DebugConnector.cs index 8906ebcb4..599b0a95c 100644 --- a/source2/Debug/Cosmos.Debug.Common/DebugConnector.cs +++ b/source2/Debug/Cosmos.Debug.Common/DebugConnector.cs @@ -248,8 +248,8 @@ namespace Cosmos.Debug.Common protected void PacketMethodContext(byte[] aPacket) { - WaitForMessage(); - mStackData = aPacket; + WaitForMessage(); + mStackData = aPacket.Reverse().ToArray(); // not really nice to use this one? //mCmdWait.Set(); //WaitForMessage(); diff --git a/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7StackFrame.cs b/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7StackFrame.cs index a28472c79..d94906134 100644 --- a/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7StackFrame.cs +++ b/source2/Debug/Cosmos.Debug.VSDebugEngine/AD7.Impl/AD7StackFrame.cs @@ -344,8 +344,7 @@ namespace Cosmos.Debug.VSDebugEngine try { if (guidFilter == AD7Guids.guidFilterLocalsPlusArgs || - guidFilter == AD7Guids.guidFilterAllLocalsPlusArgs || - guidFilter == AD7Guids.guidFilterAllLocals) + guidFilter == AD7Guids.guidFilterAllLocalsPlusArgs) { CreateLocalsPlusArgsProperties(out elementsReturned, out enumObject); hr = VSConstants.S_OK;