Skip to content

Commit 839a71e

Browse files
committed
Converted Cosmos.VS.DebugEngine to the new project system.
1 parent ce3aa13 commit 839a71e

15 files changed

+89
-808
lines changed

Build.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IL2CPU.API", "..\IL2CPU\sou
8181
EndProject
8282
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cosmos.Common", "source\Cosmos.Common\Cosmos.Common.csproj", "{366C2EC6-B9D8-4676-9C88-98F041B8FC93}"
8383
EndProject
84-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.VS.DebugEngine", "source\Cosmos.VS.DebugEngine\Cosmos.VS.DebugEngine.csproj", "{535A7E34-AC73-4781-B791-2C81A9066A2C}"
84+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cosmos.VS.DebugEngine", "source\Cosmos.VS.DebugEngine\Cosmos.VS.DebugEngine.csproj", "{535A7E34-AC73-4781-B791-2C81A9066A2C}"
8585
EndProject
8686
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Test Runner", "Test Runner", "{D4833110-032D-40E3-ACB3-F11583727B08}"
8787
EndProject

IDE.sln

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "XSharp", "XSharp", "{E9CD52
3434
EndProject
3535
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XSharp", "..\XSharp\source\XSharp\XSharp.csproj", "{72EB557A-8A2D-4B0F-823E-C70A791831B5}"
3636
EndProject
37-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.VS.DebugEngine", "source\Cosmos.VS.DebugEngine\Cosmos.VS.DebugEngine.csproj", "{535A7E34-AC73-4781-B791-2C81A9066A2C}"
37+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cosmos.VS.DebugEngine", "source\Cosmos.VS.DebugEngine\Cosmos.VS.DebugEngine.csproj", "{535A7E34-AC73-4781-B791-2C81A9066A2C}"
3838
EndProject
39-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cosmos.VS.Windows", "source\Cosmos.VS.Windows\Cosmos.VS.Windows.csproj", "{47E8F3DC-FF3F-4CC7-8643-1807260B0B18}"
39+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Cosmos.VS.Windows", "source\Cosmos.VS.Windows\Cosmos.VS.Windows.csproj", "{47E8F3DC-FF3F-4CC7-8643-1807260B0B18}"
4040
EndProject
4141
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XSharp.VS", "..\XSharp\source\XSharp.VS\XSharp.VS.csproj", "{FB71E8EF-E229-4D81-984A-B9170D752BF9}"
4242
EndProject

source/Cosmos.VS.DebugEngine/AD7.Impl/AD7Engine.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
using Cosmos.Debug.Common;
88
using Cosmos.VS.DebugEngine.AD7.Definitions;
99
using Cosmos.VS.DebugEngine.Engine.Impl;
10-
using Cosmos.VS.DebugEngine.Properties;
1110

1211
namespace Cosmos.VS.DebugEngine.AD7.Impl
1312
{
@@ -332,7 +331,7 @@ public int GetEngineInfo(out string engineName, out Guid engineGuid)
332331
{
333332
// Gets the name and identifier of the debug engine (DE) running this program.
334333

335-
engineName = Resources.EngineName;
334+
engineName = "Cosmos Debug Engine";
336335
engineGuid = EngineID;
337336

338337
return VSConstants.S_OK;

source/Cosmos.VS.DebugEngine/AD7.Impl/AD7Process.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
using Cosmos.Debug.Hosts;
1515
using IL2CPU.Debug.Symbols;
1616
using Cosmos.VS.DebugEngine.Engine.Impl;
17-
using Cosmos.VS.DebugEngine.Properties;
1817
using Cosmos.VS.DebugEngine.Utilities;
1918
using Label = IL2CPU.Debug.Symbols.Label;
2019

@@ -477,7 +476,7 @@ internal AD7Process(Dictionary<string, string> aDebugInfo, EngineCallback aCallb
477476
// been created.
478477
if (!BochsSupport.BochsEnabled)
479478
{
480-
throw new Exception(Resources.BochsIsNotInstalled);
479+
throw new Exception("The Bochs emulator doesn't seem to be installed on this machine.");
481480
}
482481

483482
string bochsConfigurationFileName;

source/Cosmos.VS.DebugEngine/AD7.Impl/AD7ProgramNode.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System;
2-
using Cosmos.VS.DebugEngine.Properties;
32
using Microsoft.VisualStudio;
43
using Microsoft.VisualStudio.Debugger.Interop;
54

@@ -22,7 +21,7 @@ public AD7ProgramNode(Guid aProcessID)
2221
// Gets the name and identifier of the DE running this program.
2322
int IDebugProgramNode2.GetEngineInfo(out string oEngineName, out Guid oEngineGuid)
2423
{
25-
oEngineName = Resources.EngineName;
24+
oEngineName = "Cosmos Debug Engine";
2625
oEngineGuid = AD7Engine.EngineID;
2726

2827
return VSConstants.S_OK;
@@ -84,4 +83,4 @@ int IDebugProgramNode2.GetHostMachineName_V7(out string hostMachineName)
8483
#endregion
8584
}
8685

87-
}
86+
}

source/Cosmos.VS.DebugEngine/Cosmos.VS.DebugEngine.csproj

+61-439
Large diffs are not rendered by default.

source/Cosmos.VS.DebugEngine/Properties/AssemblyInfo.cs

-33
This file was deleted.

source/Cosmos.VS.DebugEngine/Properties/Resources.Designer.cs

-81
This file was deleted.

source/Cosmos.VS.DebugEngine/Properties/Resources.resx

-126
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"profiles": {
3+
"Cosmos.VS.DebugEngine": {
4+
"executablePath": "$(DevEnvDir)devenv.exe",
5+
"commandLineArgs": "/rootSuffix Exp"
6+
}
7+
}
8+
}

source/Cosmos.VS.DebugEngine/app.config

-23
This file was deleted.

0 commit comments

Comments
 (0)