FIrst step of refactoring, moving namespaces around and initial work of
separating the MDS library from our implementation
This commit is contained in:
Родитель
1609e1b677
Коммит
656617be9e
|
@ -0,0 +1,2 @@
|
|||
*.user
|
||||
*.suo
|
400
CodeEditor.sln
400
CodeEditor.sln
|
@ -1,400 +0,0 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{DECCCF77-91AC-4759-9B42-AD5D72496990}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Debugger", "Debugger", "{950B8E62-DD5C-4084-B4C2-42B3BAEBC001}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Frameworks", "Frameworks", "{228395CA-7F86-451E-B8B7-8415EEB77AD7}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Languages", "Languages", "{8E77EF12-1E3A-4BF1-A01A-B7E35F68E7F1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Languages.Common", "src\Languages\CodeEditor.Languages.Common\CodeEditor.Languages.Common.csproj", "{80FD90AA-4188-4D81-AB31-6CDF792A84FA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Languages.CSharp", "src\Languages\CodeEditor.Languages.CSharp\CodeEditor.Languages.CSharp.csproj", "{81C749CC-09BF-4F72-B9C7-93D8446360DF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Languages.UnityScript", "src\Languages\CodeEditor.Languages.UnityScript\CodeEditor.Languages.UnityScript.csproj", "{6EBD7F15-9B34-49BA-B50B-1AC51527D085}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Languages.Boo", "src\Languages\CodeEditor.Languages.Boo\CodeEditor.Languages.Boo.csproj", "{07D07B75-A60C-4063-8A0B-5A2F3C84490F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.Data", "src\Text\CodeEditor.Text.Data\CodeEditor.Text.Data.csproj", "{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.Logic", "src\Text\CodeEditor.Text.Logic\CodeEditor.Text.Logic.csproj", "{E563745A-460A-4FBF-A72B-B2D4492A9716}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.UI", "src\Text\CodeEditor.Text.UI\CodeEditor.Text.UI.csproj", "{6A91E197-9142-40C7-8C24-A75E8709E26D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.UI.Console", "src\Text\CodeEditor.Text.UI.Console\CodeEditor.Text.UI.Console.csproj", "{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.UI.Unity.Engine", "src\Text\CodeEditor.Text.UI.Unity.Engine\CodeEditor.Text.UI.Unity.Engine.csproj", "{C290F98D-894E-4878-AE4A-D1E83DA95619}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.UI.Unity.Editor", "src\Text\CodeEditor.Text.UI.Unity.Editor\CodeEditor.Text.UI.Unity.Editor.csproj", "{B339EC21-C05C-4350-A62B-7126C82541AF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger", "src\Debugger\Debugger\CodeEditor.Debugger.csproj", "{6441A270-0DF3-42C9-9409-02BC273507DA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Console", "src\Debugger\Console\CodeEditor.Debugger.Console.csproj", "{36C4B51C-F8C9-44EB-832E-82E14FA63499}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Unity.Engine", "src\Debugger\Unity\Engine\CodeEditor.Debugger.Unity.Engine.csproj", "{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Unity.EditorIntegration", "src\Debugger\Unity\EditorIntegration\CodeEditor.Debugger.Unity.EditorIntegration.csproj", "{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Unity.Standalone", "src\Debugger\Unity\Standalone\CodeEditor.Debugger.Unity.Standalone.csproj", "{05848CF0-F1ED-4806-8A06-62B7AD048BE7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B} = {0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA} = {6441A270-0DF3-42C9-9409-02BC273507DA}
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751} = {F2D07F82-9C51-4889-8987-4CEF47490751}
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078} = {F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C} = {9DB8BFD3-06C8-4A8C-8842-5931B924B56C}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Unity.Standalone.Dependencies", "src\Debugger\Unity\Standalone.Dependencies\CodeEditor.Debugger.Unity.Standalone.Dependencies.csproj", "{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Backend", "src\Debugger\Backend\CodeEditor.Debugger.Backend.csproj", "{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Backend.Sdb", "src\Debugger\Backend.Sdb\CodeEditor.Debugger.Backend.Sdb.csproj", "{796B13D9-48B9-4EBA-B274-BBF297AFBD66}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Remoting", "src\Frameworks\CodeEditor.Remoting\CodeEditor.Remoting.csproj", "{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Composition", "src\Frameworks\CodeEditor.Composition\CodeEditor.Composition.csproj", "{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.IO", "src\Frameworks\CodeEditor.IO\CodeEditor.IO.csproj", "{489773FF-92B1-40B0-98EF-3ED337E5448F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Testing", "src\Frameworks\CodeEditor.Testing\CodeEditor.Testing.csproj", "{A4F64CB6-1002-4CA6-8571-8ABFBDE63877}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Collections", "src\Frameworks\CodeEditor.Collections\CodeEditor.Collections.csproj", "{59F47162-813F-47E0-9E62-99090D2081C1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.UI.Tests", "src\Tests\CodeEditor.Text.UI.Tests\CodeEditor.Text.UI.Tests.csproj", "{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.Data.Tests", "src\Tests\CodeEditor.Text.Data.Tests\CodeEditor.Text.Data.Tests.csproj", "{02E4A566-1A0F-4C5A-8949-6B8E0398497F}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Languages.UnityScript.Tests", "src\Tests\CodeEditor.Languages.UnityScript.Tests\CodeEditor.Languages.UnityScript.Tests.csproj", "{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.Logic.Tests", "src\Tests\CodeEditor.Text.Logic.Tests\CodeEditor.Text.Logic.Tests.csproj", "{DF4E0C96-8013-497D-8B45-37D71A3A9FBC}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Composition.Tests", "src\Tests\CodeEditor.Composition.Tests\CodeEditor.Composition.Tests.csproj", "{2ED73522-E34D-4CAB-8A42-6421FB9B1E77}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.Tests", "src\Tests\CodeEditor.Debugger.Tests\CodeEditor.Debugger.Tests.csproj", "{3EBF45F9-8587-425F-A438-D699488850BB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.UI.Unity.Engine.Tests", "src\Tests\CodeEditor.Text.UI.Unity.Engine.Tests\CodeEditor.Text.UI.Unity.Engine.Tests.csproj", "{883E3104-4C05-4E8B-8043-21D2BED9CB65}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Text.UI.Unity.Editor.Tests", "src\Tests\CodeEditor.Text.UI.Unity.Editor.Tests\CodeEditor.Text.UI.Unity.Editor.Tests.csproj", "{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Collections.Tests", "src\Tests\CodeEditor.Collections.Tests\CodeEditor.Collections.Tests.csproj", "{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Languages.Common.Tests", "src\Tests\CodeEditor.Languages.Common.Tests\CodeEditor.Languages.Common.Tests.csproj", "{1318FD98-D715-47F2-B3E7-74E12F042114}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Debugger.IntegrationTests", "src\Tests\CodeEditor.Debugger.IntegrationTests\CodeEditor.Debugger.IntegrationTests.csproj", "{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Debugger.Soft", "external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj", "{F2D07F82-9C51-4889-8987-4CEF47490751}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unity", "Unity", "{68A06037-F9D6-407C-A971-793850A7E855}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Text", "Text", "{07FA612B-910F-474F-942D-50E6230A85E0}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnityEngine", "..\..\Projects\CSharp\UnityEngine.csproj", "{F0499708-3EB6-4026-8362-97E6FFC4E7C8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UnityEditor", "..\..\Projects\CSharp\UnityEditor.csproj", "{016C8D73-3641-47FB-8D33-7A015A7EC7DB}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{5E2C45D4-AEA0-42A7-A339-B6EB9773AB30}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "External", "External", "{24D895E6-E40E-4106-918A-7FB98DE60E3D}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{0BD0726F-8852-4ADC-91BE-FC58B091134A}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unity", "Unity", "{A3FC73DA-C47F-4E97-BBE0-EACE720D3614}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Services", "Services", "{83D71823-7161-4836-9324-3C4C52329684}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Remoting.Completion", "src\Services\CodeEditor.Remoting.Completion\CodeEditor.Remoting.Completion.csproj", "{D5A79034-8547-44FD-98F2-0E8869C7D742}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeEditor.Remoting.Tests", "src\Tests\CodeEditor.Remoting.Tests\CodeEditor.Remoting.Tests.csproj", "{126A5797-8647-4140-9EE9-99D5BBA75666}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Testing|Any CPU = Testing|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{80FD90AA-4188-4D81-AB31-6CDF792A84FA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{80FD90AA-4188-4D81-AB31-6CDF792A84FA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{80FD90AA-4188-4D81-AB31-6CDF792A84FA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{80FD90AA-4188-4D81-AB31-6CDF792A84FA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{80FD90AA-4188-4D81-AB31-6CDF792A84FA}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{80FD90AA-4188-4D81-AB31-6CDF792A84FA}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{81C749CC-09BF-4F72-B9C7-93D8446360DF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{81C749CC-09BF-4F72-B9C7-93D8446360DF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{81C749CC-09BF-4F72-B9C7-93D8446360DF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{81C749CC-09BF-4F72-B9C7-93D8446360DF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{81C749CC-09BF-4F72-B9C7-93D8446360DF}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{81C749CC-09BF-4F72-B9C7-93D8446360DF}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{6EBD7F15-9B34-49BA-B50B-1AC51527D085}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6EBD7F15-9B34-49BA-B50B-1AC51527D085}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6EBD7F15-9B34-49BA-B50B-1AC51527D085}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6EBD7F15-9B34-49BA-B50B-1AC51527D085}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6EBD7F15-9B34-49BA-B50B-1AC51527D085}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6EBD7F15-9B34-49BA-B50B-1AC51527D085}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{07D07B75-A60C-4063-8A0B-5A2F3C84490F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{07D07B75-A60C-4063-8A0B-5A2F3C84490F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{07D07B75-A60C-4063-8A0B-5A2F3C84490F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{07D07B75-A60C-4063-8A0B-5A2F3C84490F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{07D07B75-A60C-4063-8A0B-5A2F3C84490F}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{07D07B75-A60C-4063-8A0B-5A2F3C84490F}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{E563745A-460A-4FBF-A72B-B2D4492A9716}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E563745A-460A-4FBF-A72B-B2D4492A9716}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E563745A-460A-4FBF-A72B-B2D4492A9716}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E563745A-460A-4FBF-A72B-B2D4492A9716}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E563745A-460A-4FBF-A72B-B2D4492A9716}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E563745A-460A-4FBF-A72B-B2D4492A9716}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{6A91E197-9142-40C7-8C24-A75E8709E26D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6A91E197-9142-40C7-8C24-A75E8709E26D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6A91E197-9142-40C7-8C24-A75E8709E26D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6A91E197-9142-40C7-8C24-A75E8709E26D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6A91E197-9142-40C7-8C24-A75E8709E26D}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6A91E197-9142-40C7-8C24-A75E8709E26D}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{C290F98D-894E-4878-AE4A-D1E83DA95619}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C290F98D-894E-4878-AE4A-D1E83DA95619}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C290F98D-894E-4878-AE4A-D1E83DA95619}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C290F98D-894E-4878-AE4A-D1E83DA95619}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C290F98D-894E-4878-AE4A-D1E83DA95619}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C290F98D-894E-4878-AE4A-D1E83DA95619}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{B339EC21-C05C-4350-A62B-7126C82541AF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B339EC21-C05C-4350-A62B-7126C82541AF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B339EC21-C05C-4350-A62B-7126C82541AF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B339EC21-C05C-4350-A62B-7126C82541AF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B339EC21-C05C-4350-A62B-7126C82541AF}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B339EC21-C05C-4350-A62B-7126C82541AF}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{489773FF-92B1-40B0-98EF-3ED337E5448F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{489773FF-92B1-40B0-98EF-3ED337E5448F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{489773FF-92B1-40B0-98EF-3ED337E5448F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{489773FF-92B1-40B0-98EF-3ED337E5448F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{489773FF-92B1-40B0-98EF-3ED337E5448F}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{489773FF-92B1-40B0-98EF-3ED337E5448F}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{A4F64CB6-1002-4CA6-8571-8ABFBDE63877}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A4F64CB6-1002-4CA6-8571-8ABFBDE63877}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A4F64CB6-1002-4CA6-8571-8ABFBDE63877}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A4F64CB6-1002-4CA6-8571-8ABFBDE63877}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A4F64CB6-1002-4CA6-8571-8ABFBDE63877}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A4F64CB6-1002-4CA6-8571-8ABFBDE63877}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{59F47162-813F-47E0-9E62-99090D2081C1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{59F47162-813F-47E0-9E62-99090D2081C1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{59F47162-813F-47E0-9E62-99090D2081C1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{59F47162-813F-47E0-9E62-99090D2081C1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{59F47162-813F-47E0-9E62-99090D2081C1}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{59F47162-813F-47E0-9E62-99090D2081C1}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{02E4A566-1A0F-4C5A-8949-6B8E0398497F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{02E4A566-1A0F-4C5A-8949-6B8E0398497F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{02E4A566-1A0F-4C5A-8949-6B8E0398497F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{02E4A566-1A0F-4C5A-8949-6B8E0398497F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{02E4A566-1A0F-4C5A-8949-6B8E0398497F}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{02E4A566-1A0F-4C5A-8949-6B8E0398497F}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{DF4E0C96-8013-497D-8B45-37D71A3A9FBC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DF4E0C96-8013-497D-8B45-37D71A3A9FBC}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DF4E0C96-8013-497D-8B45-37D71A3A9FBC}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DF4E0C96-8013-497D-8B45-37D71A3A9FBC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DF4E0C96-8013-497D-8B45-37D71A3A9FBC}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DF4E0C96-8013-497D-8B45-37D71A3A9FBC}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{2ED73522-E34D-4CAB-8A42-6421FB9B1E77}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2ED73522-E34D-4CAB-8A42-6421FB9B1E77}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2ED73522-E34D-4CAB-8A42-6421FB9B1E77}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2ED73522-E34D-4CAB-8A42-6421FB9B1E77}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2ED73522-E34D-4CAB-8A42-6421FB9B1E77}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2ED73522-E34D-4CAB-8A42-6421FB9B1E77}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{883E3104-4C05-4E8B-8043-21D2BED9CB65}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{883E3104-4C05-4E8B-8043-21D2BED9CB65}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{883E3104-4C05-4E8B-8043-21D2BED9CB65}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{883E3104-4C05-4E8B-8043-21D2BED9CB65}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{883E3104-4C05-4E8B-8043-21D2BED9CB65}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{883E3104-4C05-4E8B-8043-21D2BED9CB65}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{1318FD98-D715-47F2-B3E7-74E12F042114}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1318FD98-D715-47F2-B3E7-74E12F042114}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1318FD98-D715-47F2-B3E7-74E12F042114}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1318FD98-D715-47F2-B3E7-74E12F042114}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{1318FD98-D715-47F2-B3E7-74E12F042114}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1318FD98-D715-47F2-B3E7-74E12F042114}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{F0499708-3EB6-4026-8362-97E6FFC4E7C8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F0499708-3EB6-4026-8362-97E6FFC4E7C8}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F0499708-3EB6-4026-8362-97E6FFC4E7C8}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F0499708-3EB6-4026-8362-97E6FFC4E7C8}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F0499708-3EB6-4026-8362-97E6FFC4E7C8}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F0499708-3EB6-4026-8362-97E6FFC4E7C8}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{016C8D73-3641-47FB-8D33-7A015A7EC7DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{016C8D73-3641-47FB-8D33-7A015A7EC7DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{016C8D73-3641-47FB-8D33-7A015A7EC7DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{016C8D73-3641-47FB-8D33-7A015A7EC7DB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{016C8D73-3641-47FB-8D33-7A015A7EC7DB}.Testing|Any CPU.ActiveCfg = Testing|Any CPU
|
||||
{016C8D73-3641-47FB-8D33-7A015A7EC7DB}.Testing|Any CPU.Build.0 = Testing|Any CPU
|
||||
{D5A79034-8547-44FD-98F2-0E8869C7D742}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D5A79034-8547-44FD-98F2-0E8869C7D742}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D5A79034-8547-44FD-98F2-0E8869C7D742}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D5A79034-8547-44FD-98F2-0E8869C7D742}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D5A79034-8547-44FD-98F2-0E8869C7D742}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D5A79034-8547-44FD-98F2-0E8869C7D742}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{126A5797-8647-4140-9EE9-99D5BBA75666}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{126A5797-8647-4140-9EE9-99D5BBA75666}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{126A5797-8647-4140-9EE9-99D5BBA75666}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{126A5797-8647-4140-9EE9-99D5BBA75666}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{126A5797-8647-4140-9EE9-99D5BBA75666}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{126A5797-8647-4140-9EE9-99D5BBA75666}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{C8831BDA-0DB4-45FF-AB6D-DAE3F68D6CEF} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{02E4A566-1A0F-4C5A-8949-6B8E0398497F} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{DF4E0C96-8013-497D-8B45-37D71A3A9FBC} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{883E3104-4C05-4E8B-8043-21D2BED9CB65} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{6B6B0AB2-0DA0-40F8-A56D-C6CC1CADEF16} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{1318FD98-D715-47F2-B3E7-74E12F042114} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{55006E6E-9E07-4C4C-94A9-6F8A6F235FFC} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{2ED73522-E34D-4CAB-8A42-6421FB9B1E77} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{0EF8B173-6B19-4812-A8D0-ADE5F7651C4A} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{A4F64CB6-1002-4CA6-8571-8ABFBDE63877} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{126A5797-8647-4140-9EE9-99D5BBA75666} = {DECCCF77-91AC-4759-9B42-AD5D72496990}
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{A3FC73DA-C47F-4E97-BBE0-EACE720D3614} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{5E2C45D4-AEA0-42A7-A339-B6EB9773AB30} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{0BD0726F-8852-4ADC-91BE-FC58B091134A} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{24D895E6-E40E-4106-918A-7FB98DE60E3D} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{9DB8BFD3-06C8-4A8C-8842-5931B924B56C} = {228395CA-7F86-451E-B8B7-8415EEB77AD7}
|
||||
{489773FF-92B1-40B0-98EF-3ED337E5448F} = {228395CA-7F86-451E-B8B7-8415EEB77AD7}
|
||||
{59F47162-813F-47E0-9E62-99090D2081C1} = {228395CA-7F86-451E-B8B7-8415EEB77AD7}
|
||||
{80FD90AA-4188-4D81-AB31-6CDF792A84FA} = {8E77EF12-1E3A-4BF1-A01A-B7E35F68E7F1}
|
||||
{81C749CC-09BF-4F72-B9C7-93D8446360DF} = {8E77EF12-1E3A-4BF1-A01A-B7E35F68E7F1}
|
||||
{6EBD7F15-9B34-49BA-B50B-1AC51527D085} = {8E77EF12-1E3A-4BF1-A01A-B7E35F68E7F1}
|
||||
{07D07B75-A60C-4063-8A0B-5A2F3C84490F} = {8E77EF12-1E3A-4BF1-A01A-B7E35F68E7F1}
|
||||
{E563745A-460A-4FBF-A72B-B2D4492A9716} = {07FA612B-910F-474F-942D-50E6230A85E0}
|
||||
{6A91E197-9142-40C7-8C24-A75E8709E26D} = {07FA612B-910F-474F-942D-50E6230A85E0}
|
||||
{5D6AABD6-B4E6-4D84-96E1-A9DD15F874A8} = {07FA612B-910F-474F-942D-50E6230A85E0}
|
||||
{C290F98D-894E-4878-AE4A-D1E83DA95619} = {07FA612B-910F-474F-942D-50E6230A85E0}
|
||||
{B339EC21-C05C-4350-A62B-7126C82541AF} = {07FA612B-910F-474F-942D-50E6230A85E0}
|
||||
{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF} = {07FA612B-910F-474F-942D-50E6230A85E0}
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2} = {A3FC73DA-C47F-4E97-BBE0-EACE720D3614}
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7} = {A3FC73DA-C47F-4E97-BBE0-EACE720D3614}
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B} = {A3FC73DA-C47F-4E97-BBE0-EACE720D3614}
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45} = {5E2C45D4-AEA0-42A7-A339-B6EB9773AB30}
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3} = {0BD0726F-8852-4ADC-91BE-FC58B091134A}
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB} = {0BD0726F-8852-4ADC-91BE-FC58B091134A}
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751} = {24D895E6-E40E-4106-918A-7FB98DE60E3D}
|
||||
{F0499708-3EB6-4026-8362-97E6FFC4E7C8} = {68A06037-F9D6-407C-A971-793850A7E855}
|
||||
{016C8D73-3641-47FB-8D33-7A015A7EC7DB} = {68A06037-F9D6-407C-A971-793850A7E855}
|
||||
{D5A79034-8547-44FD-98F2-0E8869C7D742} = {83D71823-7161-4836-9324-3C4C52329684}
|
||||
{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078} = {83D71823-7161-4836-9324-3C4C52329684}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -1,22 +0,0 @@
|
|||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ANONYMOUS_METHOD_DECLARATION_BRACES/@EntryValue">NEXT_LINE</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/CASE_BLOCK_BRACES/@EntryValue">NEXT_LINE</s:String>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INITIALIZER_BRACES/@EntryValue">NEXT_LINE</s:String>
|
||||
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/BLANK_LINES_AROUND_SINGLE_LINE_INVOCABLE/@EntryValue">1</s:Int64>
|
||||
<s:String x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SIMPLE_EMBEDDED_STATEMENT_STYLE/@EntryValue">LINE_BREAK</s:String>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_WHILE_ON_NEW_LINE/@EntryValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_EMPTY_METHOD_CALL_PARENTHESES/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_EMPTY_METHOD_PARENTHESES/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_METHOD_CALL_PARENTHESES/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_METHOD_PARENTHESES/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/WRAP_LINES/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/PLACE_FIELD_ATTRIBUTE_ON_SAME_LINE/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_TYPEOF_PARENTHESES/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_BEFORE_SIZEOF_PARENTHESES/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AROUND_MULTIPLICATIVE_OP/@EntryValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/SPACE_AFTER_TYPECAST_PARENTHESES/@EntryValue">False</s:Boolean>
|
||||
<s:Int64 x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/CONTINUOUS_INDENT_MULTIPLIER/@EntryValue">1</s:Int64>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/ALIGN_FIRST_ARG_BY_PAREN/@EntryValue">True</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INDENT_ANONYMOUS_METHOD_BLOCK/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/INDENT_EMBRACED_INITIALIZER_BLOCK/@EntryValue">False</s:Boolean>
|
||||
<s:Boolean x:Key="/Default/CodeStyle/CodeFormatting/CSharpFormat/STICK_COMMENT/@EntryValue">False</s:Boolean></wpf:ResourceDictionary>
|
|
@ -1,9 +1,8 @@
|
|||
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(OS)' == 'Unix' ">
|
||||
<UnityBuildRoot>..\..\..\..\..\..\build\</UnityBuildRoot>
|
||||
<UnityBuildRoot>..\..\..\..\..\unity\build\</UnityBuildRoot>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(OS)' != 'Unix' ">
|
||||
<UnityBuildRoot>..\..\..\..\..\..\build\</UnityBuildRoot>
|
||||
<!-- UnityBuildRoot>c:\code\funkyed\build\</UnityBuildRoot -->
|
||||
<UnityBuildRoot>..\..\..\..\..\unity\build\</UnityBuildRoot>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -0,0 +1,128 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||
# Visual Studio 2010
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Debugger", "Debugger", "{950B8E62-DD5C-4084-B4C2-42B3BAEBC001}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger", "src\Debugger\Debugger\Debugger.csproj", "{6441A270-0DF3-42C9-9409-02BC273507DA}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Console", "src\Debugger\Console\Debugger.Console.csproj", "{36C4B51C-F8C9-44EB-832E-82E14FA63499}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Unity.Engine", "src\Debugger\Unity\Engine\Debugger.Unity.Engine.csproj", "{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Unity.EditorIntegration", "src\Debugger\Unity\EditorIntegration\Debugger.Unity.EditorIntegration.csproj", "{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Unity.Standalone.Dependencies", "src\Debugger\Unity\Standalone.Dependencies\Debugger.Unity.Standalone.Dependencies.csproj", "{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Backend", "src\Debugger\Backend\Debugger.Backend.csproj", "{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Backend.Sdb", "src\Debugger\Backend.Sdb\Debugger.Backend.Sdb.csproj", "{796B13D9-48B9-4EBA-B274-BBF297AFBD66}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Tests", "src\Tests\Debugger.Tests\Debugger.Tests.csproj", "{3EBF45F9-8587-425F-A438-D699488850BB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.IntegrationTests", "src\Tests\Debugger.IntegrationTests\Debugger.IntegrationTests.csproj", "{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Debugger.Soft", "external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj", "{F2D07F82-9C51-4889-8987-4CEF47490751}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{5E2C45D4-AEA0-42A7-A339-B6EB9773AB30}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "External", "External", "{24D895E6-E40E-4106-918A-7FB98DE60E3D}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{0BD0726F-8852-4ADC-91BE-FC58B091134A}"
|
||||
EndProject
|
||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Unity", "Unity", "{A3FC73DA-C47F-4E97-BBE0-EACE720D3614}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Debugger.Unity.Standalone", "src\Debugger\Unity\Standalone\Debugger.Unity.Standalone.csproj", "{05848CF0-F1ED-4806-8A06-62B7AD048BE7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B} = {0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA} = {6441A270-0DF3-42C9-9409-02BC273507DA}
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751} = {F2D07F82-9C51-4889-8987-4CEF47490751}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Testing|Any CPU = Testing|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Testing|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7}.Testing|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(NestedProjects) = preSolution
|
||||
{6441A270-0DF3-42C9-9409-02BC273507DA} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{36C4B51C-F8C9-44EB-832E-82E14FA63499} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{796B13D9-48B9-4EBA-B274-BBF297AFBD66} = {950B8E62-DD5C-4084-B4C2-42B3BAEBC001}
|
||||
{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2} = {A3FC73DA-C47F-4E97-BBE0-EACE720D3614}
|
||||
{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B} = {A3FC73DA-C47F-4E97-BBE0-EACE720D3614}
|
||||
{05848CF0-F1ED-4806-8A06-62B7AD048BE7} = {A3FC73DA-C47F-4E97-BBE0-EACE720D3614}
|
||||
{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45} = {5E2C45D4-AEA0-42A7-A339-B6EB9773AB30}
|
||||
{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3} = {0BD0726F-8852-4ADC-91BE-FC58B091134A}
|
||||
{3EBF45F9-8587-425F-A438-D699488850BB} = {0BD0726F-8852-4ADC-91BE-FC58B091134A}
|
||||
{F2D07F82-9C51-4889-8987-4CEF47490751} = {24D895E6-E40E-4106-918A-7FB98DE60E3D}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
|
@ -0,0 +1,5 @@
|
|||
bin/
|
||||
obj/
|
||||
*.dll
|
||||
*.pdb
|
||||
*.user
|
|
@ -140,7 +140,7 @@
|
|||
</Reference>
|
||||
<Reference Include="Mono.Cecil.dll">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\Tools\Mono.Cecil\Mono.Cecil.dll</HintPath>
|
||||
<HintPath>..\..\libs\Cecil\Mono.Cecil.dll</HintPath>
|
||||
<Private>True</Private>
|
||||
</Reference>
|
||||
<Reference Include="System.Core.dll">
|
||||
|
|
Двоичные данные
libs/Mono.Cecil.dll
Двоичные данные
libs/Mono.Cecil.dll
Двоичный файл не отображается.
|
@ -0,0 +1,3 @@
|
|||
*.dll
|
||||
*.pdb
|
||||
*.user
|
|
@ -0,0 +1,11 @@
|
|||
using MDS = Mono.Debugger.Soft;
|
||||
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class AssemblyLoadEvent : Event, IAssemblyLoadEvent
|
||||
{
|
||||
public AssemblyLoadEvent (MDS.Event ev)
|
||||
: base (ev)
|
||||
{ }
|
||||
}
|
||||
}
|
|
@ -1,68 +1,72 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{796B13D9-48B9-4EBA-B274-BBF297AFBD66}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.Backend.Sdb</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.Backend.Sdb</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SdbAssemblyMirror.cs" />
|
||||
<Compile Include="SdbBreakpointEventRequest.cs" />
|
||||
<Compile Include="SdbLocation.cs" />
|
||||
<Compile Include="SdbMethodMirror.cs" />
|
||||
<Compile Include="SdbTypeMirror.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Frameworks\CodeEditor.Composition\CodeEditor.Composition.csproj">
|
||||
<Project>{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}</Project>
|
||||
<Name>CodeEditor.Composition</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Backend\CodeEditor.Debugger.Backend.csproj">
|
||||
<Project>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</Project>
|
||||
<Name>CodeEditor.Debugger.Backend</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{796B13D9-48B9-4EBA-B274-BBF297AFBD66}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger.Backend.Sdb</RootNamespace>
|
||||
<AssemblyName>Debugger.Backend.Sdb</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyLoadEvent.cs" />
|
||||
<Compile Include="Event.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SdbAssemblyMirror.cs" />
|
||||
<Compile Include="SdbBreakpointEventRequest.cs" />
|
||||
<Compile Include="SdbLocation.cs" />
|
||||
<Compile Include="SdbMethodMirror.cs" />
|
||||
<Compile Include="SdbStackFrame.cs" />
|
||||
<Compile Include="SdbThreadMirror.cs" />
|
||||
<Compile Include="SdbTypeMirror.cs" />
|
||||
<Compile Include="TypeLoadEvent.cs" />
|
||||
<Compile Include="VirtualMachine.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Backend\Debugger.Backend.csproj">
|
||||
<Project>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</Project>
|
||||
<Name>Debugger.Backend</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -0,0 +1,23 @@
|
|||
using MDS=Mono.Debugger.Soft;
|
||||
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class Event : Wrapper, IEvent
|
||||
{
|
||||
private SdbThreadMirror _threadMirror;
|
||||
|
||||
public Event (MDS.Event ev) : base(ev)
|
||||
{
|
||||
}
|
||||
|
||||
public IThreadMirror Thread
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_threadMirror == null)
|
||||
_threadMirror = new SdbThreadMirror (Unwrap<MDS.Event>().Thread);
|
||||
return _threadMirror;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,12 +5,9 @@ using System.Runtime.InteropServices;
|
|||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("CodeEditor.Debugger.Backend.Sdb")]
|
||||
[assembly: AssemblyTitle("UnityDebugger.Backend.Sdb")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("CodeEditor.Debugger.Backend.Sdb")]
|
||||
[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
using Mono.Debugger.Soft;
|
||||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Backend.Sdb
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class SdbAssemblyMirror : IAssemblyMirror
|
||||
public class SdbAssemblyMirror : Wrapper, IAssemblyMirror
|
||||
{
|
||||
public SdbAssemblyMirror(AssemblyMirror assemblyMirror)
|
||||
{
|
||||
Mirror = assemblyMirror;
|
||||
}
|
||||
public AssemblyMirror Mirror { get { return _obj as AssemblyMirror; }}
|
||||
|
||||
public AssemblyMirror Mirror { get; private set; }
|
||||
public SdbAssemblyMirror(AssemblyMirror assemblyMirror) : base (assemblyMirror) {}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,19 +1,16 @@
|
|||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Backend.Sdb
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class SdbBreakpointEventRequest : IBreakpointEventRequest
|
||||
public class SdbBreakpointEventRequest : Wrapper, IBreakpointEventRequest
|
||||
{
|
||||
private readonly BreakpointEventRequest _sdbRequest;
|
||||
private BreakpointEventRequest _sdbRequest { get { return _obj as BreakpointEventRequest; }}
|
||||
|
||||
public SdbBreakpointEventRequest(BreakpointEventRequest sdbRequest)
|
||||
{
|
||||
_sdbRequest = sdbRequest;
|
||||
}
|
||||
public SdbBreakpointEventRequest(BreakpointEventRequest sdbRequest) : base(sdbRequest) {}
|
||||
|
||||
public void Enable()
|
||||
{
|
||||
_sdbRequest.Enable();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,25 +1,14 @@
|
|||
using Mono.Debugger.Soft;
|
||||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Backend.Sdb
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class SdbLocation : ILocation
|
||||
public class SdbLocation : Wrapper, ILocation
|
||||
{
|
||||
public Location MDSLocation { get; private set; }
|
||||
public Location MDSLocation { get { return _obj as Location; } }
|
||||
|
||||
public SdbLocation(Location location)
|
||||
{
|
||||
MDSLocation = location;
|
||||
}
|
||||
|
||||
public string File
|
||||
{
|
||||
get { return MDSLocation.SourceFile; }
|
||||
}
|
||||
|
||||
public int LineNumber
|
||||
{
|
||||
get { return MDSLocation.LineNumber; }
|
||||
}
|
||||
public string SourceFile { get { return MDSLocation.SourceFile; } }
|
||||
public int LineNumber { get { return MDSLocation.LineNumber; } }
|
||||
|
||||
public SdbLocation(Location location) : base(location) {}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,28 +1,33 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Backend.Sdb
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
internal class SdbMethodMirror : IMethodMirror
|
||||
internal class SdbMethodMirror : Wrapper, IMethodMirror
|
||||
{
|
||||
private readonly MethodMirror _methodMirror;
|
||||
private readonly Lazy<ILocation[]> _locations;
|
||||
private MethodMirror _methodMirror { get { return _obj as MethodMirror; } }
|
||||
private readonly List<ILocation> _locations;
|
||||
|
||||
public SdbMethodMirror(MethodMirror methodMirror)
|
||||
public SdbMethodMirror(MethodMirror methodMirror) : base(methodMirror)
|
||||
{
|
||||
_methodMirror = methodMirror;
|
||||
_locations = new Lazy<ILocation[]>(() => _methodMirror.Locations.Select(SdbLocationFor).ToArray());
|
||||
_locations = new List<ILocation>(_methodMirror.Locations.Select(SdbLocationFor));
|
||||
}
|
||||
|
||||
public ILocation[] Locations
|
||||
public string FullName
|
||||
{
|
||||
get { return _locations.Value; }
|
||||
get { return _methodMirror.Name; }
|
||||
}
|
||||
|
||||
public IEnumerable<ILocation> Locations
|
||||
{
|
||||
get { return _locations.ToArray(); }
|
||||
}
|
||||
|
||||
private static ILocation SdbLocationFor(Location l)
|
||||
{
|
||||
return new SdbLocation(l);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class SdbStackFrame : Wrapper, IStackFrame
|
||||
{
|
||||
public SdbStackFrame(Mono.Debugger.Soft.StackFrame obj) : base(obj)
|
||||
{
|
||||
}
|
||||
|
||||
public IThreadMirror Thread { get { return new SdbThreadMirror(Unwrap<Mono.Debugger.Soft.StackFrame>().Thread); } }
|
||||
|
||||
public IMethodMirror Method { get { return new SdbMethodMirror(Unwrap<Mono.Debugger.Soft.StackFrame>().Method); } }
|
||||
|
||||
public int ILOffset { get { return Unwrap<Mono.Debugger.Soft.StackFrame>().ILOffset; } }
|
||||
|
||||
public ILocation Location { get { return new SdbLocation(Unwrap<Mono.Debugger.Soft.StackFrame>().Location); } }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,27 @@
|
|||
using MDS=Mono.Debugger.Soft;
|
||||
using System.Linq;
|
||||
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class SdbThreadMirror : Wrapper, IThreadMirror
|
||||
{
|
||||
private MDS.ThreadMirror _threadMirror { get { return _obj as MDS.ThreadMirror; } }
|
||||
private IStackFrame[] _frames;
|
||||
|
||||
public long Id { get { return Unwrap<MDS.ThreadMirror>().Id; } }
|
||||
public string Name { get { return Unwrap<MDS.ThreadMirror>().Name; } }
|
||||
|
||||
public SdbThreadMirror(MDS.ThreadMirror threadMirror) : base(threadMirror)
|
||||
{
|
||||
_frames = threadMirror.GetFrames().Select(x => new SdbStackFrame(x)).ToArray();
|
||||
}
|
||||
|
||||
public MDS.StackFrame[] Frames { get { return Unwrap<MDS.ThreadMirror>().GetFrames(); } }
|
||||
|
||||
public IStackFrame[] GetFrames()
|
||||
{
|
||||
return _frames;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
|
@ -1,38 +1,43 @@
|
|||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Backend.Sdb
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class SdbTypeMirror : ITypeMirror
|
||||
public class SdbTypeMirror : Wrapper, ITypeMirror
|
||||
{
|
||||
private readonly TypeMirror _sdbType;
|
||||
private readonly Lazy<IMethodMirror[]> _methodsMirror;
|
||||
private readonly Lazy<string[]> _sourceFiles;
|
||||
private readonly List<IMethodMirror> _methodsMirror;
|
||||
private readonly List<string> _sourceFiles;
|
||||
public IAssemblyMirror Assembly { get; private set; }
|
||||
|
||||
public string[] SourceFiles
|
||||
public IEnumerable<string> SourceFiles
|
||||
{
|
||||
get { return _sourceFiles.Value; }
|
||||
get { return _sourceFiles; }
|
||||
}
|
||||
|
||||
public IMethodMirror[] Methods
|
||||
public IEnumerable<IMethodMirror> Methods
|
||||
{
|
||||
get { return _methodsMirror.Value; }
|
||||
get { return _methodsMirror; }
|
||||
}
|
||||
|
||||
private SdbMethodMirror[] GetMethodMirrors()
|
||||
private List<IMethodMirror> GetMethodMirrors()
|
||||
{
|
||||
return _sdbType.GetMethods().Select(m => new SdbMethodMirror(m)).ToArray();
|
||||
return _sdbType.GetMethods().Select(m => new SdbMethodMirror(m) as IMethodMirror).ToList();
|
||||
}
|
||||
|
||||
public SdbTypeMirror(TypeMirror sdbType, IAssemblyMirror assemblyMirror)
|
||||
public SdbTypeMirror(TypeMirror sdbType, IAssemblyMirror assemblyMirror) : base(sdbType)
|
||||
{
|
||||
_sdbType = sdbType;
|
||||
Assembly = assemblyMirror;
|
||||
|
||||
_methodsMirror = new Lazy<IMethodMirror[]>(GetMethodMirrors);
|
||||
_sourceFiles = new Lazy<string[]>(() => _sdbType.GetSourceFiles(true));
|
||||
_methodsMirror = GetMethodMirrors();
|
||||
_sourceFiles = new List<string>(_sdbType.GetSourceFiles(true));
|
||||
}
|
||||
|
||||
public string Name
|
||||
{
|
||||
get { return _sdbType.Name; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
using MDS = Mono.Debugger.Soft;
|
||||
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
public class TypeLoadEvent : Event, ITypeLoadEvent
|
||||
{
|
||||
private SdbTypeMirror _typeMirror;
|
||||
|
||||
public TypeLoadEvent(MDS.Event ev) : base(ev)
|
||||
{
|
||||
}
|
||||
|
||||
public ITypeMirror Type
|
||||
{
|
||||
get
|
||||
{
|
||||
if (_typeMirror == null)
|
||||
_typeMirror = new SdbTypeMirror(Unwrap<MDS.TypeLoadEvent>().Type, new SdbAssemblyMirror(Unwrap<MDS.TypeLoadEvent>().Type.Assembly));
|
||||
return _typeMirror;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,173 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using MDS=Mono.Debugger.Soft;
|
||||
|
||||
namespace Debugger.Backend.Sdb
|
||||
{
|
||||
internal class VirtualMachine : Wrapper, IVirtualMachine
|
||||
{
|
||||
private readonly Mono.Debugger.Soft.VirtualMachine _vm;
|
||||
private bool _running = true;
|
||||
private bool _exited = false;
|
||||
private readonly List<Exception> _errors = new List<Exception> ();
|
||||
|
||||
public event Action<MDS.VMStartEvent> OnVMStart;
|
||||
public event Action<MDS.VMDeathEvent> OnVMDeath;
|
||||
public event Action<AssemblyLoadEvent> OnAssemblyLoad;
|
||||
|
||||
public event Action<ITypeLoadEvent> OnTypeLoad;
|
||||
public event Action<MDS.VMDisconnectEvent> OnVMDisconnect;
|
||||
public event Action<MDS.ThreadStartEvent> OnThreadStart;
|
||||
public event Action<MDS.BreakpointEvent> OnBreakpoint;
|
||||
public event Action<IEvent> OnVMGotSuspended;
|
||||
|
||||
public VirtualMachine(Mono.Debugger.Soft.VirtualMachine vm) : base(vm)
|
||||
{
|
||||
_vm = vm;
|
||||
_vm.EnableEvents (
|
||||
MDS.EventType.AssemblyLoad,
|
||||
MDS.EventType.VMDeath,
|
||||
MDS.EventType.TypeLoad,
|
||||
MDS.EventType.VMStart
|
||||
);
|
||||
|
||||
QueueUserWorkItem (EventLoop);
|
||||
}
|
||||
|
||||
public Process Process
|
||||
{
|
||||
get { return _vm.Process; }
|
||||
}
|
||||
|
||||
public void Resume ()
|
||||
{
|
||||
try
|
||||
{
|
||||
_vm.Resume ();
|
||||
}
|
||||
catch (InvalidOperationException)
|
||||
{
|
||||
//there is some racy bug somewhere that sometimes makes the runtime complain that we are resuming while we were not suspended.
|
||||
//obviously if you dont resume, the other 95% of the cases, you hang because we were suspended.
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<Exception> Errors {
|
||||
get { return _errors; }
|
||||
}
|
||||
|
||||
private void QueueUserWorkItem (Action a)
|
||||
{
|
||||
ThreadPool.QueueUserWorkItem (_ => WithErrorLogging (a));
|
||||
}
|
||||
|
||||
private void EventLoop ()
|
||||
{
|
||||
while (_running)
|
||||
{
|
||||
var e = _vm.GetNextEventSet ();
|
||||
if (e == null)
|
||||
return;
|
||||
foreach (var evt in e.Events)
|
||||
HandleEvent (evt, e.SuspendPolicy);
|
||||
}
|
||||
}
|
||||
|
||||
private void HandleEvent (MDS.Event e, MDS.SuspendPolicy policy)
|
||||
{
|
||||
Console.WriteLine("Event: " + e.GetType());
|
||||
bool exit = false;
|
||||
lock (_vm) {
|
||||
exit = _exited;
|
||||
}
|
||||
if (exit)
|
||||
return;
|
||||
|
||||
if (policy != MDS.SuspendPolicy.None)
|
||||
if (OnVMGotSuspended != null) OnVMGotSuspended (new Event(e));
|
||||
|
||||
switch (e.EventType)
|
||||
{
|
||||
case MDS.EventType.VMStart:
|
||||
if (OnVMStart != null) OnVMStart ((MDS.VMStartEvent)e);
|
||||
break;
|
||||
case MDS.EventType.ThreadStart:
|
||||
if (OnThreadStart != null)
|
||||
OnThreadStart ((MDS.ThreadStartEvent)e);
|
||||
break;
|
||||
case MDS.EventType.AssemblyLoad:
|
||||
if (OnAssemblyLoad != null)
|
||||
OnAssemblyLoad (new AssemblyLoadEvent(e));
|
||||
break;
|
||||
case MDS.EventType.TypeLoad:
|
||||
if (OnTypeLoad != null)
|
||||
OnTypeLoad (new TypeLoadEvent(e));
|
||||
break;
|
||||
case MDS.EventType.Breakpoint:
|
||||
if (OnBreakpoint != null)
|
||||
OnBreakpoint ((MDS.BreakpointEvent)e);
|
||||
break;
|
||||
case MDS.EventType.VMDeath:
|
||||
if (OnVMDeath != null) OnVMDeath ((MDS.VMDeathEvent)e);
|
||||
_running = false;
|
||||
break;
|
||||
case MDS.EventType.VMDisconnect:
|
||||
if (OnVMDisconnect != null) OnVMDisconnect ((MDS.VMDisconnectEvent)e);
|
||||
_running = false;
|
||||
break;
|
||||
case MDS.EventType.MethodEntry:
|
||||
Console.WriteLine (((MDS.MethodEntryEvent)e).Method.FullName);
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine ("Unknown event: "+e.GetType ());
|
||||
break;
|
||||
}
|
||||
if (policy != MDS.SuspendPolicy.None)
|
||||
_vm.Resume();
|
||||
}
|
||||
|
||||
private void WithErrorLogging (Action action)
|
||||
{
|
||||
try
|
||||
{
|
||||
action ();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
TraceError (e);
|
||||
_errors.Add (e);
|
||||
}
|
||||
}
|
||||
|
||||
private void TraceError (Exception exception)
|
||||
{
|
||||
Console.WriteLine (exception.ToString ());
|
||||
}
|
||||
|
||||
public void Exit ()
|
||||
{
|
||||
lock (_vm) {
|
||||
_exited = true;
|
||||
}
|
||||
_vm.Exit (0);
|
||||
_vm.Detach ();
|
||||
}
|
||||
|
||||
public IBreakpointEventRequest CreateBreakpointRequest (ILocation location)
|
||||
{
|
||||
return new SdbBreakpointEventRequest(_vm.CreateBreakpointRequest (location.Unwrap<MDS.Location>()));
|
||||
}
|
||||
|
||||
public void ResumeIfNeeded ()
|
||||
{
|
||||
}
|
||||
|
||||
public IList<IThreadMirror> GetThreads ()
|
||||
{
|
||||
//return _vm.GetThreads();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,51 +1,60 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.Backend</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.Backend</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="IAssemblyMirror.cs" />
|
||||
<Compile Include="IBreakpointEventRequest.cs" />
|
||||
<Compile Include="ILocation.cs" />
|
||||
<Compile Include="IMethodMirror.cs" />
|
||||
<Compile Include="ITypeMirror.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger.Backend</RootNamespace>
|
||||
<AssemblyName>Debugger.Backend</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<TargetFrameworkProfile />
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="IAssemblyLoadEvent.cs" />
|
||||
<Compile Include="IEvent.cs" />
|
||||
<Compile Include="IAssemblyMirror.cs" />
|
||||
<Compile Include="IBreakPoint.cs" />
|
||||
<Compile Include="IBreakpointEventRequest.cs" />
|
||||
<Compile Include="ILocation.cs" />
|
||||
<Compile Include="IMethodMirror.cs" />
|
||||
<Compile Include="IStackFrame.cs" />
|
||||
<Compile Include="IThreadMirror.cs" />
|
||||
<Compile Include="ITypeMirror.cs" />
|
||||
<Compile Include="IVirtualMachine.cs" />
|
||||
<Compile Include="IWrapper.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ITypeLoadEvent.cs" />
|
||||
<Compile Include="Wrapper.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -0,0 +1,2 @@
|
|||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
|
||||
<s:Boolean x:Key="/Default/Housekeeping/ProjectSettingsUpgraded/IsUpgraded/@EntryValue">True</s:Boolean></wpf:ResourceDictionary>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ProjectFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
|
@ -0,0 +1,6 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IAssemblyLoadEvent : IEvent
|
||||
{
|
||||
}
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
namespace CodeEditor.Debugger.Backend
|
||||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IAssemblyMirror
|
||||
public interface IAssemblyMirror : IWrapper
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IBreakPoint
|
||||
{
|
||||
ILocation Location { get; }
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
namespace CodeEditor.Debugger.Backend
|
||||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IBreakpointEventRequest
|
||||
public interface IBreakpointEventRequest : IWrapper
|
||||
{
|
||||
void Enable();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IEvent : IWrapper
|
||||
{
|
||||
IThreadMirror Thread { get; }
|
||||
}
|
||||
}
|
|
@ -1,8 +1,8 @@
|
|||
namespace CodeEditor.Debugger.Backend
|
||||
namespace Debugger.Backend
|
||||
{
|
||||
public interface ILocation
|
||||
public interface ILocation : IWrapper
|
||||
{
|
||||
string File { get; }
|
||||
string SourceFile { get; }
|
||||
int LineNumber { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
namespace CodeEditor.Debugger.Backend
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IMethodMirror
|
||||
public interface IMethodMirror : IWrapper
|
||||
{
|
||||
ILocation[] Locations { get; }
|
||||
IEnumerable<ILocation> Locations { get; }
|
||||
string FullName { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IStackFrame : IWrapper
|
||||
{
|
||||
IThreadMirror Thread { get; }
|
||||
IMethodMirror Method { get; }
|
||||
int ILOffset { get; }
|
||||
ILocation Location { get; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IThreadMirror : IWrapper
|
||||
{
|
||||
long Id { get; }
|
||||
string Name { get; }
|
||||
IStackFrame[] GetFrames ();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public interface ITypeLoadEvent : IEvent
|
||||
{
|
||||
ITypeMirror Type { get; }
|
||||
}
|
||||
}
|
|
@ -1,9 +1,12 @@
|
|||
namespace CodeEditor.Debugger.Backend
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Debugger.Backend
|
||||
{
|
||||
public interface ITypeMirror
|
||||
public interface ITypeMirror : IWrapper
|
||||
{
|
||||
string Name { get; }
|
||||
IAssemblyMirror Assembly { get; }
|
||||
string[] SourceFiles { get; }
|
||||
IMethodMirror[] Methods { get; }
|
||||
IEnumerable<string> SourceFiles { get; }
|
||||
IEnumerable<IMethodMirror> Methods { get; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IVirtualMachine : IWrapper
|
||||
{
|
||||
event Action<IEvent> OnVMGotSuspended;
|
||||
event Action<ITypeLoadEvent> OnTypeLoad;
|
||||
IBreakpointEventRequest CreateBreakpointRequest (ILocation location);
|
||||
IList<IThreadMirror> GetThreads();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public interface IWrapper
|
||||
{
|
||||
T Unwrap<T>() where T : class;
|
||||
}
|
||||
}
|
|
@ -5,12 +5,9 @@ using System.Runtime.InteropServices;
|
|||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("CodeEditor.Debugger.Backend")]
|
||||
[assembly: AssemblyTitle("UnityDebugger.Backend")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("Microsoft")]
|
||||
[assembly: AssemblyProduct("CodeEditor.Debugger.Backend")]
|
||||
[assembly: AssemblyCopyright("Copyright © Microsoft 2012")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
namespace Debugger.Backend
|
||||
{
|
||||
public class Wrapper : IWrapper
|
||||
{
|
||||
protected readonly object _obj;
|
||||
|
||||
public Wrapper(object obj)
|
||||
{
|
||||
_obj = obj;
|
||||
}
|
||||
|
||||
public T Unwrap<T>() where T : class
|
||||
{
|
||||
return _obj as T;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,63 +1,63 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{36C4B51C-F8C9-44EB-832E-82E14FA63499}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.Console</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.Console</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{36C4B51C-F8C9-44EB-832E-82E14FA63499}</ProjectGuid>
|
||||
<OutputType>Exe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger.Console</RootNamespace>
|
||||
<AssemblyName>Debugger.Console</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml.Linq">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data.DataSetExtensions">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -1,4 +1,4 @@
|
|||
namespace CodeEditor.Debugger.Console
|
||||
namespace Debugger.Console
|
||||
{
|
||||
class Program
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("CodeEditor.Debugger.Console")]
|
||||
[assembly: AssemblyTitle("UnityDebugger.Console")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
|
|
@ -1,126 +1,110 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{6441A270-0DF3-42C9-9409-02BC273507DA}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{6441A270-0DF3-42C9-9409-02BC273507DA}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger</RootNamespace>
|
||||
<AssemblyName>Debugger</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Frameworks\CodeEditor.Composition\CodeEditor.Composition.csproj">
|
||||
<Project>{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}</Project>
|
||||
<Name>CodeEditor.Composition</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Backend.Sdb\CodeEditor.Debugger.Backend.Sdb.csproj">
|
||||
<Project>{796B13D9-48B9-4EBA-B274-BBF297AFBD66}</Project>
|
||||
<Name>CodeEditor.Debugger.Backend.Sdb</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Backend\CodeEditor.Debugger.Backend.csproj">
|
||||
<Project>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</Project>
|
||||
<Name>CodeEditor.Debugger.Backend</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Frameworks\CodeEditor.IO\CodeEditor.IO.csproj">
|
||||
<Project>{489773FF-92B1-40B0-98EF-3ED337E5448F}</Project>
|
||||
<Name>CodeEditor.IO</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Text\CodeEditor.Text.Data\CodeEditor.Text.Data.csproj">
|
||||
<Project>{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}</Project>
|
||||
<Name>CodeEditor.Text.Data</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Text\CodeEditor.Text.UI\CodeEditor.Text.UI.csproj">
|
||||
<Project>{6A91E197-9142-40C7-8C24-A75E8709E26D}</Project>
|
||||
<Name>CodeEditor.Text.UI</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil, Version=0.6.9.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\Mono.Cecil\Mono.Cecil.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="IFaces\IBreakpointEventRequestFactory.cs" />
|
||||
<Compile Include="IFaces\IBreakpointProvider.cs" />
|
||||
<Compile Include="IFaces\IDebuggerSession.cs" />
|
||||
<Compile Include="IFaces\IDebuggerSessionAssembler.cs" />
|
||||
<Compile Include="IFaces\IExecutingLocationProvider.cs" />
|
||||
<Compile Include="IFaces\ILocation.cs" />
|
||||
<Compile Include="IFaces\ISourcesProvider.cs" />
|
||||
<Compile Include="IFaces\IVirtualMachine.cs" />
|
||||
<Compile Include="IFaces\IThreadProvider.cs" />
|
||||
<Compile Include="IFaces\IBreakPoint.cs" />
|
||||
<Compile Include="IFaces\IDebuggerSessionCreationListener.cs" />
|
||||
<Compile Include="IFaces\ILogProvider.cs" />
|
||||
<Compile Include="IFaces\ITypeMirrorProvider.cs" />
|
||||
<Compile Include="IFaces\ISourceToTypeMapper.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Implementation\BreakpointMediator.cs" />
|
||||
<Compile Include="Implementation\Location.cs" />
|
||||
<Compile Include="Implementation\VirtualMachine.cs" />
|
||||
<Compile Include="Implementation\BreakpointEventRequestFactory.cs" />
|
||||
<Compile Include="Implementation\BreakPoint.cs" />
|
||||
<Compile Include="Implementation\BreakpointProvider.cs" />
|
||||
<Compile Include="Implementation\DebuggerSession.cs" />
|
||||
<Compile Include="Implementation\DebuggerSessionAssembler.cs" />
|
||||
<Compile Include="Implementation\ThreadProvider.cs" />
|
||||
<Compile Include="Implementation\TypeMirrorProvider.cs" />
|
||||
<Compile Include="Implementation\ExecutingLocationProvider.cs" />
|
||||
<Compile Include="Implementation\SourceToTypeMapper.cs" />
|
||||
<Compile Include="Implementation\ThreadsRequest.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
-->
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Backend.Sdb\Debugger.Backend.Sdb.csproj">
|
||||
<Project>{796B13D9-48B9-4EBA-B274-BBF297AFBD66}</Project>
|
||||
<Name>Debugger.Backend.Sdb</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Backend\Debugger.Backend.csproj">
|
||||
<Project>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</Project>
|
||||
<Name>Debugger.Backend</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="CodeEditor.Composition">
|
||||
<HintPath>..\..\..\libs\CodeEditor.Composition.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.IO">
|
||||
<HintPath>..\..\..\libs\CodeEditor.IO.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.Text.Data">
|
||||
<HintPath>..\..\..\libs\CodeEditor.Text.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.Text.UI">
|
||||
<HintPath>..\..\..\libs\CodeEditor.Text.UI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Mono.Cecil, Version=0.6.9.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\libs\Cecil\Mono.Cecil.dll</HintPath>
|
||||
<Private>False</Private>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="System.Data" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="IBreakpointProvider.cs" />
|
||||
<None Include="IDebuggerSession-old.cs" />
|
||||
<Compile Include="IDebuggerSession.cs" />
|
||||
<Compile Include="IExecutingLocationProvider.cs" />
|
||||
<Compile Include="ISourcesProvider.cs" />
|
||||
<Compile Include="IThreadProvider.cs" />
|
||||
<Compile Include="ILogProvider.cs" />
|
||||
<Compile Include="ITypeMirrorProvider.cs" />
|
||||
<Compile Include="ISourceToTypeMapper.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Implementation\BreakpointMediator.cs" />
|
||||
<Compile Include="Implementation\Location.cs" />
|
||||
<Compile Include="Implementation\BreakPoint.cs" />
|
||||
<Compile Include="Implementation\BreakpointProvider.cs" />
|
||||
<None Include="Implementation\DebuggerSession-old.cs" />
|
||||
<Compile Include="Implementation\ThreadProvider.cs" />
|
||||
<Compile Include="Implementation\TypeMirrorProvider.cs" />
|
||||
<Compile Include="Implementation\ExecutingLocationProvider.cs" />
|
||||
<Compile Include="Implementation\SourceToTypeMapper.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Implementation\DebuggerSession.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace Debugger
|
||||
{
|
||||
public interface IBreakpointProvider
|
||||
{
|
||||
IBreakPoint GetBreakPointAt(string file, int lineNumber);
|
||||
void ToggleBreakPointAt(string fileName, int lineNumber);
|
||||
event Action<IBreakPoint> BreakpointAdded;
|
||||
event Action<IBreakPoint> BreakPointRemoved;
|
||||
IEnumerable<IBreakPoint> Breakpoints { get; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
using System;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace Debugger
|
||||
{
|
||||
public interface IDebuggerSession
|
||||
{
|
||||
bool Active { get; }
|
||||
IVirtualMachine VM { get; }
|
||||
|
||||
event Action<string> TraceCallback;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
using Debugger.Backend;
|
||||
|
||||
namespace Debugger
|
||||
{
|
||||
public interface IExecutingLocationProvider
|
||||
{
|
||||
ILocation Location { get; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
namespace Debugger
|
||||
{
|
||||
public interface ILogProvider
|
||||
{
|
||||
void Log(string msg);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace Debugger
|
||||
{
|
||||
public interface ISourceToTypeMapper
|
||||
{
|
||||
IEnumerable<ITypeMirror> TypesFor(string file);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Debugger
|
||||
{
|
||||
public interface ISourcesProvider
|
||||
{
|
||||
IList<string> Sources { get; }
|
||||
|
||||
void StartRefreshingSources (Action<object> callback, object state);
|
||||
void StopRefreshingSources();
|
||||
void Stop();
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
using System.Collections.Generic;
|
||||
using Debugger.Implementation;
|
||||
|
||||
namespace Debugger
|
||||
{
|
||||
public interface IThreadProvider
|
||||
{
|
||||
IList<DebugThread> Threads { get; }
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace Debugger
|
||||
{
|
||||
public interface ITypeMirrorProvider
|
||||
{
|
||||
event Action<ITypeMirror> TypeLoaded;
|
||||
event Action<ITypeMirror> TypeUnloaded;
|
||||
ITypeMirror[] LoadedTypesMirror { get; }
|
||||
}
|
||||
}
|
|
@ -1,4 +1,6 @@
|
|||
namespace CodeEditor.Debugger.Implementation
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
class BreakPoint : IBreakPoint
|
||||
{
|
||||
|
@ -11,4 +13,4 @@ namespace CodeEditor.Debugger.Implementation
|
|||
|
||||
public ILocation Location { get { return _location; } }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
using System.Linq;
|
||||
using Debugger.Backend;
|
||||
using MDS = Mono.Debugger.Soft;
|
||||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
public class BreakpointMediator
|
||||
{
|
||||
|
@ -17,9 +18,9 @@ namespace CodeEditor.Debugger.Implementation
|
|||
_vm.OnTypeLoad += OnTypeLoad;
|
||||
}
|
||||
|
||||
private void OnTypeLoad (TypeLoadEvent e)
|
||||
private void OnTypeLoad (ITypeLoadEvent e)
|
||||
{
|
||||
var sourcefiles = e.Type.GetSourceFiles (true);
|
||||
var sourcefiles = e.Type.SourceFiles;
|
||||
|
||||
if (e.Type.Name == "TestClass")
|
||||
{
|
||||
|
@ -29,10 +30,9 @@ namespace CodeEditor.Debugger.Implementation
|
|||
var breakPoints = _breakpointProvider.Breakpoints;
|
||||
var relevantBreakPoints = breakPoints.Where (bp => sourcefiles.Contains (bp.Location.SourceFile));
|
||||
|
||||
var methodMirrors = e.Type.GetMethods ();
|
||||
foreach (var bp in relevantBreakPoints)
|
||||
{
|
||||
foreach (var method in methodMirrors)
|
||||
foreach (var method in e.Type.Methods)
|
||||
{
|
||||
var bestLocation = BestLocationIn (method, bp);
|
||||
if (bestLocation == null)
|
||||
|
@ -43,9 +43,9 @@ namespace CodeEditor.Debugger.Implementation
|
|||
}
|
||||
}
|
||||
|
||||
private MDS.Location BestLocationIn (MethodMirror method, IBreakPoint bp)
|
||||
private ILocation BestLocationIn (IMethodMirror method, IBreakPoint bp)
|
||||
{
|
||||
var locations = method.Locations.ToArray ();
|
||||
var locations = method.Locations;
|
||||
var name = method.FullName;
|
||||
|
||||
return locations.FirstOrDefault (l => l.SourceFile == bp.Location.SourceFile && l.LineNumber == bp.Location.LineNumber);
|
||||
|
|
|
@ -2,8 +2,10 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using Debugger;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
[Export(typeof(IBreakpointProvider))]
|
||||
class BreakpointProvider : IBreakpointProvider
|
||||
|
|
|
@ -1,350 +1,24 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
using System.Threading;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Debugger.Backend;
|
||||
using CodeEditor.Debugger.Backend.Sdb;
|
||||
using Mono.Debugger.Soft;
|
||||
using MDS = Mono.Debugger.Soft;
|
||||
using System;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
[Export(typeof(IDebuggerSession))]
|
||||
internal class DebuggerSession : IDebuggerSession
|
||||
public class DebuggerSession : IDebuggerSession
|
||||
{
|
||||
private int _debuggerPort;
|
||||
private volatile Mono.Debugger.Soft.VirtualMachine _vm;
|
||||
private MethodEntryEventRequest _methodEntryRequest;
|
||||
private bool _vmSuspended;
|
||||
private readonly Queue<Event> _queuedEvents = new Queue<Event>();
|
||||
private EventRequest _requestWaitingForResponse;
|
||||
public bool Active { get; private set; }
|
||||
|
||||
public event Action<Event> VMGotSuspended;
|
||||
public IVirtualMachine VM { get; private set; }
|
||||
|
||||
public event Action<string> TraceCallback ;
|
||||
private ThreadMirror _mainThread;
|
||||
private readonly List<AssemblyMirror> _loadedAssemblies = new List<AssemblyMirror>();
|
||||
private Dictionary<MDS.Location,BreakpointEventRequest> _breakpointEventRequests = new Dictionary<MDS.Location, BreakpointEventRequest>();
|
||||
private readonly List<SdbAssemblyMirror> _debugAssemblies = new List<SdbAssemblyMirror>();
|
||||
|
||||
public void Start(int debuggerPort)
|
||||
public static IDebuggerSession Attach (int pid)
|
||||
{
|
||||
_debuggerPort = debuggerPort;
|
||||
QueueUserWorkItem(Connect);
|
||||
return new DebuggerSession();
|
||||
}
|
||||
|
||||
public IEnumerable<Mono.Debugger.Soft.AssemblyMirror> LoadedAssemblies { get { return _loadedAssemblies; } }
|
||||
|
||||
public void Connect()
|
||||
public static IDebuggerSession Launch ()
|
||||
{
|
||||
WithErrorLogging(() =>
|
||||
{
|
||||
Trace("Attempting connection at port {0}...", _debuggerPort);
|
||||
|
||||
_vm = VirtualMachineManager.Connect(new IPEndPoint(IPAddress.Loopback, _debuggerPort));
|
||||
_vm.Suspend();
|
||||
_vm.EnableEvents(
|
||||
EventType.AssemblyLoad,
|
||||
EventType.AssemblyUnload,
|
||||
EventType.AppDomainUnload,
|
||||
EventType.AppDomainCreate,
|
||||
EventType.VMDeath,
|
||||
EventType.VMDisconnect,
|
||||
EventType.TypeLoad
|
||||
);
|
||||
_methodEntryRequest = _vm.CreateMethodEntryRequest();
|
||||
StartEventLoop();
|
||||
});
|
||||
return new DebuggerSession();
|
||||
}
|
||||
|
||||
public bool IsConnected
|
||||
{
|
||||
get { return _vm != null; }
|
||||
}
|
||||
|
||||
public bool WaitingForResponse { get { return _requestWaitingForResponse != null; } }
|
||||
public bool Suspended { get { return _vmSuspended; } }
|
||||
|
||||
private void ProcessQueuedEvents()
|
||||
{
|
||||
lock (_queuedEvents)
|
||||
{
|
||||
while (_queuedEvents.Count > 0)
|
||||
{
|
||||
var e = _queuedEvents.Dequeue();
|
||||
HandleEvent(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Disconnect()
|
||||
{
|
||||
if (_vm == null) return;
|
||||
WithErrorLogging(() => _vm.Disconnect());
|
||||
Dispose();
|
||||
}
|
||||
|
||||
private void Dispose()
|
||||
{
|
||||
if (_vm == null) return;
|
||||
WithErrorLogging(() => _vm.Dispose());
|
||||
_vm = null;
|
||||
}
|
||||
|
||||
private void StartEventLoop()
|
||||
{
|
||||
QueueUserWorkItem(EventLoop);
|
||||
}
|
||||
|
||||
private void QueueUserWorkItem(Action eventLoop)
|
||||
{
|
||||
ThreadPool.QueueUserWorkItem(_ => WithErrorLogging(eventLoop));
|
||||
}
|
||||
|
||||
private void WithErrorLogging(Action action)
|
||||
{
|
||||
try
|
||||
{
|
||||
action();
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
TraceError(e);
|
||||
}
|
||||
}
|
||||
|
||||
private void EventLoop()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
if (_vm == null)
|
||||
break;
|
||||
|
||||
var e = _vm.GetNextEvent();
|
||||
lock (_queuedEvents)
|
||||
{
|
||||
_queuedEvents.Enqueue(e);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void HandleEvent(Event e)
|
||||
{
|
||||
if (_mainThread == null)
|
||||
_mainThread = e.Thread;
|
||||
switch (e.EventType)
|
||||
{
|
||||
case EventType.VMStart:
|
||||
OnVMStart((VMStartEvent) e);
|
||||
return;
|
||||
case EventType.AssemblyLoad:
|
||||
OnAssemblyLoad((AssemblyLoadEvent)e);
|
||||
break;
|
||||
case EventType.AssemblyUnload:
|
||||
OnAssemblyUnload((AssemblyUnloadEvent)e);
|
||||
break;
|
||||
case EventType.AppDomainCreate:
|
||||
OnAppDomainCreate((AppDomainCreateEvent)e);
|
||||
break;
|
||||
case EventType.AppDomainUnload:
|
||||
OnAppDomainUnload((AppDomainUnloadEvent)e);
|
||||
break;
|
||||
case EventType.TypeLoad:
|
||||
OnTypeLoad((TypeLoadEvent)e);
|
||||
break;
|
||||
case EventType.MethodEntry:
|
||||
OnMethodEntry((MethodEntryEvent)e);
|
||||
return;
|
||||
case EventType.Step:
|
||||
OnStep((StepEvent)e);
|
||||
return;
|
||||
case EventType.VMDisconnect:
|
||||
case EventType.VMDeath:
|
||||
Trace(e.EventType.ToString());
|
||||
_vmSuspended = true;
|
||||
Dispose();
|
||||
return;
|
||||
}
|
||||
SafeResume();
|
||||
}
|
||||
|
||||
private void OnVMStart(VMStartEvent vmStartEvent)
|
||||
{
|
||||
SafeResume();
|
||||
}
|
||||
|
||||
private void OnStep(StepEvent stepEvent)
|
||||
{
|
||||
Trace("OnStep event");
|
||||
stepEvent.Request.Disable();
|
||||
_requestWaitingForResponse = null;
|
||||
OnVMGotSuspended(stepEvent);
|
||||
}
|
||||
|
||||
private void OnMethodEntry(MethodEntryEvent e)
|
||||
{
|
||||
Trace("OnMethodEntry event");
|
||||
_methodEntryRequest.Disable();
|
||||
OnVMGotSuspended(e);
|
||||
}
|
||||
|
||||
private void OnVMGotSuspended(Event e)
|
||||
{
|
||||
_vmSuspended = true;
|
||||
|
||||
if (VMGotSuspended != null)
|
||||
VMGotSuspended(e);
|
||||
}
|
||||
|
||||
|
||||
private void OnAppDomainUnload(AppDomainUnloadEvent appDomainUnloadEvent)
|
||||
{
|
||||
Trace("AppDomainUnload: {0}", appDomainUnloadEvent.Domain.FriendlyName);
|
||||
}
|
||||
|
||||
private void OnAppDomainCreate(AppDomainCreateEvent appDomainCreateEvent)
|
||||
{
|
||||
Trace("AppDomainCreate: {0}", appDomainCreateEvent.Domain.FriendlyName);
|
||||
}
|
||||
|
||||
private void OnAssemblyLoad(AssemblyLoadEvent e)
|
||||
{
|
||||
var assembly = e.Assembly;
|
||||
ProcessLoadedAssembly(assembly);
|
||||
var debugAssembly = DebugAssemblyFor(assembly);
|
||||
|
||||
AssemblyUnloaded(debugAssembly);
|
||||
}
|
||||
|
||||
private void ProcessLoadedAssembly(Mono.Debugger.Soft.AssemblyMirror assembly)
|
||||
{
|
||||
var hasDebugSymbols = HasDebugSymbols(assembly);
|
||||
Trace("AssemblyLoad: {0}", assembly.GetName().FullName);
|
||||
Trace("\tHasDebugSymbols: {0}", hasDebugSymbols);
|
||||
|
||||
if (!hasDebugSymbols || !IsUserCode(assembly)) return;
|
||||
|
||||
_loadedAssemblies.Add(assembly);
|
||||
|
||||
var wasEnabled = _methodEntryRequest.Enabled;
|
||||
_methodEntryRequest.Disable();
|
||||
_methodEntryRequest.AssemblyFilter = _loadedAssemblies;
|
||||
if (wasEnabled)
|
||||
_methodEntryRequest.Enable();
|
||||
}
|
||||
|
||||
private static bool IsUserCode(Mono.Debugger.Soft.AssemblyMirror assembly)
|
||||
{
|
||||
return assembly.GetName().Name.StartsWith("SdbAssemblyMirror-");
|
||||
}
|
||||
|
||||
private static bool HasDebugSymbols(Mono.Debugger.Soft.AssemblyMirror assembly)
|
||||
{
|
||||
return File.Exists(assembly.ManifestModule.FullyQualifiedName + ".mdb");
|
||||
}
|
||||
|
||||
private void OnAssemblyUnload(AssemblyUnloadEvent e)
|
||||
{
|
||||
_loadedAssemblies.Remove(e.Assembly);
|
||||
|
||||
var wasEnabled = _methodEntryRequest.Enabled;
|
||||
_methodEntryRequest.Disable();
|
||||
_methodEntryRequest.AssemblyFilter = _loadedAssemblies;
|
||||
if (wasEnabled)
|
||||
_methodEntryRequest.Enable();
|
||||
|
||||
_breakpointEventRequests = _breakpointEventRequests.Where(kvp => kvp.Key.Method.DeclaringType.Assembly != e.Assembly).ToDictionary(kvp=>kvp.Key,kvp=>kvp.Value);
|
||||
|
||||
Trace("AssemblyUnload: {0}", e.Assembly.GetName().FullName);
|
||||
|
||||
AssemblyUnloaded(DebugAssemblyFor(e.Assembly));
|
||||
}
|
||||
|
||||
private IAssemblyMirror DebugAssemblyFor(Mono.Debugger.Soft.AssemblyMirror assemblyMirror)
|
||||
{
|
||||
var debugAssembly = _debugAssemblies.SingleOrDefault(da => da.Mirror == assemblyMirror);
|
||||
if (debugAssembly != null)
|
||||
return debugAssembly;
|
||||
|
||||
debugAssembly = new SdbAssemblyMirror(assemblyMirror);
|
||||
_debugAssemblies.Add(debugAssembly);
|
||||
return debugAssembly;
|
||||
}
|
||||
|
||||
private void OnTypeLoad(TypeLoadEvent e)
|
||||
{
|
||||
var debugAssembly = DebugAssemblyFor(e.Type.Assembly);
|
||||
var debugType = new SdbTypeMirror(e.Type,debugAssembly);
|
||||
|
||||
TypeLoaded(debugType);
|
||||
}
|
||||
|
||||
public void SafeResume()
|
||||
{
|
||||
Trace("SafeResume");
|
||||
_vmSuspended = false;
|
||||
WithErrorLogging(() => _vm.Resume());
|
||||
}
|
||||
|
||||
public void Break()
|
||||
{
|
||||
_methodEntryRequest.Enable();
|
||||
}
|
||||
|
||||
public void SendStepRequest(StepDepth stepDepth)
|
||||
{
|
||||
var stepEventRequest = _vm.CreateStepRequest(_mainThread);
|
||||
stepEventRequest.Depth = stepDepth;
|
||||
stepEventRequest.Size = StepSize.Line;
|
||||
stepEventRequest.Enable();
|
||||
SafeResume();
|
||||
_requestWaitingForResponse = stepEventRequest;
|
||||
}
|
||||
|
||||
public IList<ThreadMirror> GetThreads()
|
||||
{
|
||||
return _vm.GetThreads();
|
||||
}
|
||||
|
||||
private void TraceError(Exception exception)
|
||||
{
|
||||
Trace("error: " + exception);
|
||||
Trace("stacktrace" + exception.StackTrace);
|
||||
}
|
||||
|
||||
public void Update()
|
||||
{
|
||||
ProcessQueuedEvents();
|
||||
}
|
||||
|
||||
public ThreadsRequest GetThreadsAsync()
|
||||
{
|
||||
return new ThreadsRequest();
|
||||
}
|
||||
|
||||
public BreakpointEventRequest CreateBreakpointRequest(Mono.Debugger.Soft.Location location)
|
||||
{
|
||||
var request = _vm.CreateBreakpointRequest(location);
|
||||
_breakpointEventRequests[location] = request;
|
||||
return request;
|
||||
}
|
||||
|
||||
public event Action<ITypeMirror> TypeLoaded;
|
||||
public event Action<IAssemblyMirror> AssemblyLoaded;
|
||||
public event Action<IAssemblyMirror> AssemblyUnloaded;
|
||||
|
||||
private void Trace(string format, params object[] args)
|
||||
{
|
||||
var text = String.Format(format, args);
|
||||
TraceCallback(text);
|
||||
}
|
||||
|
||||
public ThreadMirror GetMainThread()
|
||||
{
|
||||
return _mainThread;
|
||||
}
|
||||
public event Action<string> TraceCallback;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
using CodeEditor.Composition;
|
||||
using Debugger.Backend;
|
||||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
using L = Location;
|
||||
|
||||
|
@ -19,18 +20,16 @@ namespace CodeEditor.Debugger.Implementation
|
|||
_currentLocation = L.Default;
|
||||
}
|
||||
|
||||
private void OnVMGotSuspended(Event suspendingEvent)
|
||||
private void OnVMGotSuspended(IEvent suspendingEvent)
|
||||
{
|
||||
if (suspendingEvent is VMDeathEvent)
|
||||
return;
|
||||
|
||||
var frames = suspendingEvent.Thread.GetFrames();
|
||||
|
||||
|
||||
var frames = suspendingEvent.Thread.Unwrap<ThreadMirror>().GetFrames();
|
||||
|
||||
_currentLocation = frames.Length == 0
|
||||
? new Location(0, "")
|
||||
: new Location(frames[0].LineNumber, frames[0].Location.SourceFile);
|
||||
: new Location(frames[0].Location);
|
||||
}
|
||||
|
||||
public ILocation Location
|
||||
|
@ -38,4 +37,4 @@ namespace CodeEditor.Debugger.Implementation
|
|||
get { return _currentLocation; }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
namespace CodeEditor.Debugger.Implementation
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
public class Location : ILocation
|
||||
public class Location : Wrapper, ILocation
|
||||
{
|
||||
private static Location _default;
|
||||
public static Location Default { get { return _default; } }
|
||||
|
@ -13,7 +15,13 @@ namespace CodeEditor.Debugger.Implementation
|
|||
_default = new Location(0, "");
|
||||
}
|
||||
|
||||
public Location(int line,string file)
|
||||
public Location(Mono.Debugger.Soft.Location location) : base(location)
|
||||
{
|
||||
_line = location.LineNumber;
|
||||
_file = location.SourceFile;
|
||||
}
|
||||
|
||||
public Location(int line,string file) : base(null)
|
||||
{
|
||||
_line = line;
|
||||
_file = file;
|
||||
|
@ -28,10 +36,5 @@ namespace CodeEditor.Debugger.Implementation
|
|||
{
|
||||
get { return _file; }
|
||||
}
|
||||
|
||||
public static ILocation FromLocation (Mono.Debugger.Soft.Location location)
|
||||
{
|
||||
return new Location(location.LineNumber, location.SourceFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Debugger.Backend;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
[Export(typeof(ISourceToTypeMapper))]
|
||||
class SourceToTypeMapper : ISourceToTypeMapper
|
||||
|
|
|
@ -1,27 +1,28 @@
|
|||
using System.Collections.Generic;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using Debugger.Backend;
|
||||
using Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
[Export(typeof(IThreadProvider))]
|
||||
class ThreadProvider : IThreadProvider
|
||||
{
|
||||
readonly IDebuggerSession _debuggingSession;
|
||||
readonly IDebuggerSession _session;
|
||||
|
||||
private IList<DebugThread> _threads = new List<DebugThread>();
|
||||
|
||||
[ImportingConstructor]
|
||||
public ThreadProvider(IDebuggerSession debuggingSession)
|
||||
{
|
||||
_debuggingSession = debuggingSession;
|
||||
_debuggingSession.VMGotSuspended += VMGotSuspended;
|
||||
_session = debuggingSession;
|
||||
_session.VM.OnVMGotSuspended += VMGotSuspended;
|
||||
}
|
||||
|
||||
private void VMGotSuspended(Event obj)
|
||||
private void VMGotSuspended(IEvent obj)
|
||||
{
|
||||
var threads = _debuggingSession.GetThreads();
|
||||
var threads = _session.VM.GetThreads ();
|
||||
_threads = threads.Select(t => new DebugThread(t.Id)).ToList();
|
||||
}
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ namespace CodeEditor.Debugger.Implementation
|
|||
{
|
||||
public class ThreadsRequest
|
||||
{
|
||||
private DebuggerSession _debuggerSession;
|
||||
private IDebuggerSession _session;
|
||||
private IList<ThreadMirror> _returnValue = null;
|
||||
private bool _ready;
|
||||
|
||||
|
@ -15,7 +15,7 @@ namespace CodeEditor.Debugger.Implementation
|
|||
{
|
||||
ThreadPool.QueueUserWorkItem(_ =>
|
||||
{
|
||||
_returnValue = _debuggerSession.GetThreads();
|
||||
_returnValue = _session.VM.GetThreads ();
|
||||
_ready = true;
|
||||
});
|
||||
}
|
||||
|
@ -39,4 +39,4 @@ namespace CodeEditor.Debugger.Implementation
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Debugger.Backend;
|
||||
using Debugger.Backend;
|
||||
using TypeLoadEvent = Mono.Debugger.Soft.TypeLoadEvent;
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
namespace Debugger.Implementation
|
||||
{
|
||||
[Export(typeof(ITypeMirrorProvider))]
|
||||
class TypeMirrorProvider : ITypeMirrorProvider
|
||||
|
@ -20,8 +20,8 @@ namespace CodeEditor.Debugger.Implementation
|
|||
internal TypeMirrorProvider(IDebuggerSession session)
|
||||
{
|
||||
_session = session;
|
||||
_session.AssemblyUnloaded += AssemblyUnloaded;
|
||||
_session.TypeLoaded += OnTypeLoaded;
|
||||
//_session.VM.OnTypeLoad += AssemblyUnloaded;
|
||||
_session.VM.OnTypeLoad += OnTypeLoaded;
|
||||
}
|
||||
|
||||
public ITypeMirror[] LoadedTypesMirror
|
||||
|
@ -29,11 +29,12 @@ namespace CodeEditor.Debugger.Implementation
|
|||
get { return _types.ToArray(); }
|
||||
}
|
||||
|
||||
private void OnTypeLoaded(ITypeMirror typeMirror)
|
||||
private void OnTypeLoaded (ITypeLoadEvent ev)
|
||||
{
|
||||
_types.Add(typeMirror);
|
||||
if (TypeLoaded != null)
|
||||
TypeLoaded(typeMirror);
|
||||
|
||||
// _types.Add (ev.Type);
|
||||
// if (TypeLoaded != null)
|
||||
// TypeLoaded (ev.Type);
|
||||
}
|
||||
|
||||
private void AssemblyUnloaded(IAssemblyMirror assemblyMirror)
|
||||
|
|
|
@ -1,14 +1,16 @@
|
|||
using System;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
using CodeEditor.Composition;
|
||||
using Debugger.Backend;
|
||||
using Mono.Debugger.Soft;
|
||||
using MDS=Mono.Debugger.Soft;
|
||||
|
||||
|
||||
namespace CodeEditor.Debugger.Implementation
|
||||
{
|
||||
|
||||
[Export(typeof(IVirtualMachine))]
|
||||
internal class VirtualMachine : IVirtualMachine
|
||||
{
|
||||
|
@ -21,11 +23,11 @@ namespace CodeEditor.Debugger.Implementation
|
|||
public event Action<VMDeathEvent> OnVMDeath;
|
||||
public event Action<AssemblyLoadEvent> OnAssemblyLoad;
|
||||
|
||||
public event Action<TypeLoadEvent> OnTypeLoad;
|
||||
public event Action<MDS.TypeLoadEvent> OnTypeLoad;
|
||||
public event Action<VMDisconnectEvent> OnVMDisconnect;
|
||||
public event Action<ThreadStartEvent> OnThreadStart;
|
||||
public event Action<BreakpointEvent> OnBreakpoint;
|
||||
public event Action<Event> OnVMGotSuspended;
|
||||
public event Action<MDS.Event> OnVMGotSuspended;
|
||||
|
||||
public VirtualMachine()
|
||||
{
|
||||
|
@ -83,7 +85,7 @@ namespace CodeEditor.Debugger.Implementation
|
|||
}
|
||||
}
|
||||
|
||||
private void HandleEvent (Event e, SuspendPolicy policy)
|
||||
private void HandleEvent (MDS.Event e, SuspendPolicy policy)
|
||||
{
|
||||
Console.WriteLine("Event: " + e.GetType());
|
||||
bool exit = false;
|
||||
|
@ -111,7 +113,7 @@ namespace CodeEditor.Debugger.Implementation
|
|||
break;
|
||||
case EventType.TypeLoad:
|
||||
if (OnTypeLoad != null)
|
||||
OnTypeLoad ((TypeLoadEvent)e);
|
||||
OnTypeLoad ((MDS.TypeLoadEvent)e);
|
||||
break;
|
||||
case EventType.Breakpoint:
|
||||
if (OnBreakpoint != null)
|
||||
|
@ -171,5 +173,10 @@ namespace CodeEditor.Debugger.Implementation
|
|||
public void ResumeIfNeeded ()
|
||||
{
|
||||
}
|
||||
|
||||
public IList<ThreadMirror> GetThreads ()
|
||||
{
|
||||
return _vm.GetThreads();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@ using System.Reflection;
|
|||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("CodeEditor.Debugger")]
|
||||
[assembly: AssemblyTitle("UnityDebugger")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
|
@ -11,5 +11,5 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
|
||||
[assembly: InternalsVisibleTo("CodeEditor.Debugger.Tests")]
|
||||
[assembly: InternalsVisibleTo("CodeEditor.Debugger.IntegrationTests")]
|
||||
[assembly: InternalsVisibleTo("Debugger.Tests")]
|
||||
[assembly: InternalsVisibleTo("Debugger.IntegrationTests")]
|
||||
|
|
|
@ -1,66 +1,60 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.Unity.EditorIntegration</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.Unity.EditorIntegration</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DebuggerMenuItems.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\..\..\Projects\CSharp\UnityEditor.csproj">
|
||||
<Project>{016C8D73-3641-47FB-8D33-7A015A7EC7DB}</Project>
|
||||
<Name>UnityEditor</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\..\..\..\Projects\CSharp\UnityEngine.csproj">
|
||||
<Project>{F0499708-3EB6-4026-8362-97E6FFC4E7C8}</Project>
|
||||
<Name>UnityEngine</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{E7D6952B-DC82-4D01-BFA6-D6BA4A65CEB2}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger.Unity.EditorIntegration</RootNamespace>
|
||||
<AssemblyName>Debugger.Unity.EditorIntegration</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="UnityEditor, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\..\..\libs\UnityEditor.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="DebuggerMenuItems.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -1,8 +1,8 @@
|
|||
using System.Diagnostics;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using UnityEditor;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.EditorIntegration
|
||||
namespace Debugger.Unity.EditorIntegration
|
||||
{
|
||||
public static class DebuggerMenuItems
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("CodeEditor.Debugger.UnityEditor")]
|
||||
[assembly: AssemblyTitle("UnityDebugger.UnityEditor")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyProduct("CodeEditor.Debugger.UnityEditor")]
|
||||
[assembly: AssemblyProduct("UnityDebugger.UnityEditor")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
[assembly: ComVisible(false)]
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
using CodeEditor.IO.Implementation;
|
||||
using CodeEditor.IO.Implementation;
|
||||
using CodeEditor.Text.UI.Unity.Engine;
|
||||
using Debugger.Backend;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
class BreakPointMargin : ITextViewMargin
|
||||
{
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using CodeEditor.Composition;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.IO.Implementation;
|
||||
using CodeEditor.Text.UI.Unity.Engine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export(typeof(ITextViewMarginProvider))]
|
||||
class BreakPointMarginProvider : ITextViewMarginProvider
|
||||
|
|
|
@ -1,46 +1,47 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Debugger.Implementation;
|
||||
using Debugger.Backend;
|
||||
using UnityEngine;
|
||||
using mds = Mono.Debugger.Soft;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export(typeof(IDebuggerWindow))]
|
||||
public class CallStackDisplay : DebuggerWindow
|
||||
{
|
||||
private readonly IDebuggerSession _debuggingSession;
|
||||
private readonly ISourceNavigator _sourceNavigator;
|
||||
private IEnumerable<mds.StackFrame> _callFrames = new mds.StackFrame[0];
|
||||
private IEnumerable<IStackFrame> _callFrames;
|
||||
|
||||
[ImportingConstructor]
|
||||
public CallStackDisplay(IDebuggerSession debuggingSession, ISourceNavigator sourceNavigator)
|
||||
{
|
||||
_debuggingSession = debuggingSession;
|
||||
_debuggingSession.VMGotSuspended += VMGotSuspended;
|
||||
_sourceNavigator = sourceNavigator;
|
||||
_debuggingSession.VM.OnVMGotSuspended += VMGotSuspended;
|
||||
}
|
||||
|
||||
private void VMGotSuspended (mds.Event obj)
|
||||
private void VMGotSuspended (IEvent obj)
|
||||
{
|
||||
SetCallFrames(_debuggingSession.GetMainThread().GetFrames());
|
||||
var thread = _debuggingSession.VM.GetThreads().FirstOrDefault();
|
||||
if (thread != null)
|
||||
SetCallFrames(thread.GetFrames());
|
||||
}
|
||||
|
||||
public override void OnGUI ()
|
||||
{
|
||||
GUI.enabled = _debuggingSession.Suspended;
|
||||
GUI.enabled = _debuggingSession.Active;
|
||||
|
||||
var backup = GUI.skin.button.alignment;
|
||||
GUI.skin.button.alignment = TextAnchor.MiddleLeft;
|
||||
foreach(var frame in _callFrames)
|
||||
{
|
||||
if (GUILayout.Button(frame.Method.DeclaringType.Name+"."+frame.Method.Name + " : " + frame.Location.LineNumber))
|
||||
_sourceNavigator.ShowSourceLocation(Location.FromLocation(frame.Location));
|
||||
}
|
||||
if (!_callFrames.Any())
|
||||
GUILayout.Label("No stackframes on this threads stack");
|
||||
|
||||
//foreach(var frame in _callFrames)
|
||||
//{
|
||||
// if (GUILayout.Button(frame.Method.DeclaringType.Name+"."+frame.Method.Name + " : " + frame.Location.LineNumber))
|
||||
// _sourceNavigator.ShowSourceLocation(Location.FromLocation(frame.Location));
|
||||
//}
|
||||
//if (!_callFrames.Any())
|
||||
// GUILayout.Label("No stackframes on this threads stack");
|
||||
|
||||
GUI.skin.button.alignment = backup;
|
||||
}
|
||||
|
@ -50,7 +51,7 @@ namespace CodeEditor.Debugger.Unity.Engine
|
|||
get { return "CallStack"; }
|
||||
}
|
||||
|
||||
public void SetCallFrames (IEnumerable<mds.StackFrame> frames)
|
||||
public void SetCallFrames (IEnumerable<IStackFrame> frames)
|
||||
{
|
||||
_callFrames = frames;
|
||||
}
|
||||
|
|
|
@ -1,136 +1,133 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.Unity.Engine</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.Unity.Engine</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BreakPointMargin.cs" />
|
||||
<Compile Include="BreakPointMarginProvider.cs" />
|
||||
<Compile Include="CallStackDisplay.cs" />
|
||||
<Compile Include="DebuggerWindow.cs" />
|
||||
<Compile Include="ExecutingLineAdornment.cs" />
|
||||
<Compile Include="LogWindow.cs" />
|
||||
<Compile Include="DebuggerWindowManager.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SourceNavigator.cs" />
|
||||
<Compile Include="SourcesWindow.cs" />
|
||||
<Compile Include="SourceWindow.cs" />
|
||||
<Compile Include="TextViewAppearanceProvider.cs" />
|
||||
<Compile Include="ThreadsDisplay.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\..\..\Projects\CSharp\UnityEngine.csproj">
|
||||
<Project>{F0499708-3EB6-4026-8362-97E6FFC4E7C8}</Project>
|
||||
<Name>UnityEngine</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\Frameworks\CodeEditor.Composition\CodeEditor.Composition.csproj">
|
||||
<Project>{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}</Project>
|
||||
<Name>CodeEditor.Composition</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Debugger\CodeEditor.Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>CodeEditor.Debugger</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\Frameworks\CodeEditor.IO\CodeEditor.IO.csproj">
|
||||
<Project>{489773FF-92B1-40B0-98EF-3ED337E5448F}</Project>
|
||||
<Name>CodeEditor.IO</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\Text\CodeEditor.Text.UI.Unity.Engine\CodeEditor.Text.UI.Unity.Engine.csproj">
|
||||
<Project>{C290F98D-894E-4878-AE4A-D1E83DA95619}</Project>
|
||||
<Name>CodeEditor.Text.UI.Unity.Engine</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\Text\CodeEditor.Text.UI\CodeEditor.Text.UI.csproj">
|
||||
<Project>{6A91E197-9142-40C7-8C24-A75E8709E26D}</Project>
|
||||
<Name>CodeEditor.Text.UI</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger.Unity.Engine</RootNamespace>
|
||||
<AssemblyName>Debugger.Unity.Engine</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>3.5</OldToolsVersion>
|
||||
<UpgradeBackupLocation />
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="CodeEditor.Composition">
|
||||
<HintPath>..\..\..\..\libs\CodeEditor.Composition.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.IO">
|
||||
<HintPath>..\..\..\..\libs\CodeEditor.IO.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.Text.Data">
|
||||
<HintPath>..\..\..\..\libs\CodeEditor.Text.Data.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.Text.UI">
|
||||
<HintPath>..\..\..\..\libs\CodeEditor.Text.UI.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.Text.UI.Unity.Engine">
|
||||
<HintPath>..\..\..\..\libs\CodeEditor.Text.UI.Unity.Engine.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\..\..\..\libs\UnityEngine.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BreakPointMargin.cs" />
|
||||
<Compile Include="BreakPointMarginProvider.cs" />
|
||||
<Compile Include="CallStackDisplay.cs" />
|
||||
<Compile Include="DebuggerWindow.cs" />
|
||||
<Compile Include="ExecutingLineAdornment.cs" />
|
||||
<Compile Include="LogWindow.cs" />
|
||||
<Compile Include="DebuggerWindowManager.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="SourceNavigator.cs" />
|
||||
<Compile Include="SourcesWindow.cs" />
|
||||
<Compile Include="SourceWindow.cs" />
|
||||
<Compile Include="TextViewAppearanceProvider.cs" />
|
||||
<Compile Include="ThreadsDisplay.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Backend\Debugger.Backend.csproj">
|
||||
<Project>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</Project>
|
||||
<Name>Debugger.Backend</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Debugger\Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>Debugger %28Debugger\Debugger%29</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -1,7 +1,6 @@
|
|||
using System;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
public class DebuggerWindow : IDebuggerWindow
|
||||
{
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
public interface IDebuggerWindow
|
||||
{
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
using CodeEditor.Composition;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Text.UI.Unity.Engine;
|
||||
using UnityEngine;
|
||||
using System;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export(typeof(ITextViewAdornment))]
|
||||
class ExecutingLineAdornment : ITextViewAdornment
|
||||
|
|
|
@ -3,7 +3,7 @@ using CodeEditor.Composition;
|
|||
using CodeEditor.Text.UI.Unity.Engine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export]
|
||||
[Export(typeof(IDebuggerWindow))]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("CodeEditor.Debugger.UnityEngine")]
|
||||
[assembly: AssemblyTitle("UnityDebugger.UnityEngine")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
using System.IO;
|
||||
using System.IO;
|
||||
using CodeEditor.Composition;
|
||||
using Mono.Debugger.Soft;
|
||||
using Debugger.Backend;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
public interface ISourceNavigator
|
||||
{
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
using System;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Text.UI.Unity.Engine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export]
|
||||
[Export (typeof (IDebuggerWindow))]
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Debugger.Implementation;
|
||||
using Debugger.Implementation;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export]
|
||||
[Export (typeof (IDebuggerWindow))]
|
||||
|
|
|
@ -2,7 +2,7 @@ using CodeEditor.Composition;
|
|||
using CodeEditor.Text.UI.Unity.Engine;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export(typeof(ITextViewAppearanceProvider))]
|
||||
class TextViewAppearanceProvider : ITextViewAppearanceProvider
|
||||
|
@ -19,6 +19,7 @@ namespace CodeEditor.Debugger.Unity.Engine
|
|||
private readonly GUIStyle _text;
|
||||
private readonly GUIStyle _lineNumber;
|
||||
private readonly Color _lineNumberColor;
|
||||
private readonly Color _selectionColor;
|
||||
|
||||
public TextViewAppearance()
|
||||
{
|
||||
|
@ -60,5 +61,10 @@ namespace CodeEditor.Debugger.Unity.Engine
|
|||
{
|
||||
get { return _lineNumberColor; }
|
||||
}
|
||||
|
||||
public Color SelectionColor
|
||||
{
|
||||
get { return _selectionColor; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,10 +1,7 @@
|
|||
using System.Collections.Generic;
|
||||
using CodeEditor.Composition;
|
||||
using Mono.Debugger.Soft;
|
||||
using UnityEngine;
|
||||
using Event = Mono.Debugger.Soft.Event;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Engine
|
||||
namespace Debugger.Unity.Engine
|
||||
{
|
||||
[Export(typeof(IDebuggerWindow))]
|
||||
public class ThreadsDisplay : DebuggerWindow
|
||||
|
@ -21,7 +18,7 @@ namespace CodeEditor.Debugger.Unity.Engine
|
|||
|
||||
public override void OnGUI()
|
||||
{
|
||||
GUI.enabled = _debuggerSession.Suspended;
|
||||
GUI.enabled = _debuggerSession.Active;
|
||||
foreach(var thread in _threadProvider.Threads)
|
||||
{
|
||||
GUILayout.Label("Thread id: "+thread.Id);
|
||||
|
|
|
@ -1,233 +1,259 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.Unity.Standalone.Dependencies</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.Unity.Standalone.Dependencies</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Mono.Cecil, Version=0.6.9.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)..\Mono.Cecil\Mono.Cecil.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Boo.OMeta, Version=1.0.4528.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\Boo.OMeta.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.Grammars, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\CodeEditor.Grammars.dll</HintPath>
|
||||
</Reference>
|
||||
<ProjectReference Include="..\..\Debugger\CodeEditor.Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>CodeEditor.Debugger</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Engine\CodeEditor.Debugger.Unity.Engine.csproj">
|
||||
<Project>{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}</Project>
|
||||
<Name>CodeEditor.Debugger.Unity.Engine</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Standalone\CodeEditor.Debugger.Unity.Standalone.csproj">
|
||||
<Project>{05848CF0-F1ED-4806-8A06-62B7AD048BE7}</Project>
|
||||
<Name>CodeEditor.Debugger.Unity.Standalone</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Backend.Sdb\CodeEditor.Debugger.Backend.Sdb.csproj">
|
||||
<Project>{796B13D9-48B9-4EBA-B274-BBF297AFBD66}</Project>
|
||||
<Name>CodeEditor.Debugger.Backend.Sdb</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Backend\CodeEditor.Debugger.Backend.csproj">
|
||||
<Project>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</Project>
|
||||
<Name>CodeEditor.Debugger.Backend</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Frameworks\CodeEditor.Collections\CodeEditor.Collections.csproj">
|
||||
<Project>{59F47162-813F-47E0-9E62-99090D2081C1}</Project>
|
||||
<Name>CodeEditor.Collections</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Frameworks\CodeEditor.Composition\CodeEditor.Composition.csproj">
|
||||
<Project>{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}</Project>
|
||||
<Name>CodeEditor.Composition</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Frameworks\CodeEditor.Remoting\CodeEditor.Remoting.csproj">
|
||||
<Project>{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}</Project>
|
||||
<Name>CodeEditor.Remoting</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Frameworks\CodeEditor.IO\CodeEditor.IO.csproj">
|
||||
<Project>{489773FF-92B1-40B0-98EF-3ED337E5448F}</Project>
|
||||
<Name>CodeEditor.IO</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Languages\CodeEditor.Languages.Boo\CodeEditor.Languages.Boo.csproj">
|
||||
<Project>{07D07B75-A60C-4063-8A0B-5A2F3C84490F}</Project>
|
||||
<Name>CodeEditor.Languages.Boo</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Languages\CodeEditor.Languages.Common\CodeEditor.Languages.Common.csproj">
|
||||
<Project>{80FD90AA-4188-4D81-AB31-6CDF792A84FA}</Project>
|
||||
<Name>CodeEditor.Languages.Common</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Languages\CodeEditor.Languages.CSharp\CodeEditor.Languages.CSharp.csproj">
|
||||
<Project>{81C749CC-09BF-4F72-B9C7-93D8446360DF}</Project>
|
||||
<Name>CodeEditor.Languages.CSharp</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Languages\CodeEditor.Languages.UnityScript\CodeEditor.Languages.UnityScript.csproj">
|
||||
<Project>{6EBD7F15-9B34-49BA-B50B-1AC51527D085}</Project>
|
||||
<Name>CodeEditor.Languages.UnityScript</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Services\CodeEditor.Remoting.Completion\CodeEditor.Remoting.Completion.csproj">
|
||||
<Project>{D5A79034-8547-44FD-98F2-0E8869C7D742}</Project>
|
||||
<Name>CodeEditor.Remoting.Completion</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Text\CodeEditor.Text.UI.Unity.Engine\CodeEditor.Text.UI.Unity.Engine.csproj">
|
||||
<Project>{C290F98D-894E-4878-AE4A-D1E83DA95619}</Project>
|
||||
<Name>CodeEditor.Text.UI.Unity.Engine</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Text\CodeEditor.Text.Data\CodeEditor.Text.Data.csproj">
|
||||
<Project>{A6107081-C1F6-4B9C-AFED-2BE0AB8E5BAF}</Project>
|
||||
<Name>CodeEditor.Text.Data</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Text\CodeEditor.Text.Logic\CodeEditor.Text.Logic.csproj">
|
||||
<Project>{E563745A-460A-4FBF-A72B-B2D4492A9716}</Project>
|
||||
<Name>CodeEditor.Text.Logic</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)src\Text\CodeEditor.Text.UI\CodeEditor.Text.UI.csproj">
|
||||
<Project>{6A91E197-9142-40C7-8C24-A75E8709E26D}</Project>
|
||||
<Name>CodeEditor.Text.UI</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Empty.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)Unity.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<PropertyGroup Condition=" '$(OS)' == 'Unix' ">
|
||||
<UnityBuildDir>$(UnityBuildRoot)MacEditor\</UnityBuildDir>
|
||||
<UnityCmd>$(UnityBuildDir)Unity.app\Contents\MacOS\Unity</UnityCmd>
|
||||
<UnityDebuggerProjectBuildDir>Build\Mac\</UnityDebuggerProjectBuildDir>
|
||||
<UnityDebuggerDir>Unity.app\Contents\Tools\Debugger\</UnityDebuggerDir>
|
||||
<UnityDebuggerDataDir>$(UnityDebuggerDir)Debugger.app\Contents\Data\Managed\</UnityDebuggerDataDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(OS)' != 'Unix' ">
|
||||
<UnityBuildDir>$(UnityBuildRoot)WindowsEditor\</UnityBuildDir>
|
||||
<UnityCmd>$(UnityBuildDir)Unity.exe</UnityCmd>
|
||||
<UnityDebuggerProjectBuildDir>Build\Windows\</UnityDebuggerProjectBuildDir>
|
||||
<UnityDebuggerDir>Data\Tools\Debugger\</UnityDebuggerDir>
|
||||
<UnityDebuggerDataDir>$(UnityDebuggerDir)Debugger_Data\Managed\</UnityDebuggerDataDir>
|
||||
</PropertyGroup>
|
||||
<Target Name="AfterBuild" DependsOnTargets="BuildDebugger" />
|
||||
<!-- Make sure all the assemblies are cleaned from the debugger dir as well -->
|
||||
<Target Name="AfterClean" DependsOnTargets="_ResolveOutputFiles">
|
||||
<Delete Files="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
<!-- This target resolves all the assemblies that this project references directly or
|
||||
indirectly, excluding the UnityEngine.dll and UnityEditor.dll -->
|
||||
<Target Name="_ResolveOutputFiles" DependsOnTargets="_ResolvePaths">
|
||||
<CreateItem Condition="'$(Configuration)' == 'Debug'" Include="$(OutDir)*.dll;$(OutDir)*.pdb" Exclude="$(OutDir)UnityEngine*;$(OutDir)UnityEditor*;$(OutDir)$(TargetFilename)">
|
||||
<Output TaskParameter="Include" ItemName="_Files" />
|
||||
</CreateItem>
|
||||
<CreateItem Condition="'$(Configuration)' != 'Debug'" Include="$(OutDir)*.dll" Exclude="$(OutDir)UnityEngine*;$(OutDir)UnityEditor*;$(OutDir)$(TargetFilename)">
|
||||
<Output TaskParameter="Include" ItemName="_Files" />
|
||||
</CreateItem>
|
||||
<Message Text="@(_Files)" Importance="Low" />
|
||||
</Target>
|
||||
<!-- This target resolves all the debugger player files -->
|
||||
<Target Name="_ResolveOutputDebugger" DependsOnTargets="_ResolvePaths">
|
||||
<CreateItem Include="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)**">
|
||||
<Output TaskParameter="Include" ItemName="_DebuggerFiles" />
|
||||
</CreateItem>
|
||||
<Message Text="Debugger Files: @(_DebuggerFiles)" Importance="Low" />
|
||||
</Target>
|
||||
<!-- This target resolves full project and tool paths for the _BuildDebuggerProject target -->
|
||||
<Target Name="_ResolvePaths">
|
||||
<!-- This allows us to later get the full path by doing %(UnityDebuggerProjectDir.FullPath) -->
|
||||
<CreateItem Include="..\Standalone\UnityProject\">
|
||||
<Output TaskParameter="Include" ItemName="UnityDebuggerProjectDir" />
|
||||
</CreateItem>
|
||||
<CreateProperty Value="%(UnityDebuggerProjectDir.FullPath)">
|
||||
<Output TaskParameter="Value" PropertyName="_ProjectAbsPath" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger.app" Condition="'$(OS)'=='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_DebuggerExe" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger.exe" Condition="'$(OS)'!='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_DebuggerExe" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(UnityCmd) -buildOSXPlayer "$(_DebuggerExe)"" Condition="'$(OS)'=='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_UnityCmd" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(UnityCmd) -buildWindowsPlayer "$(_DebuggerExe)"" Condition="'$(OS)'!='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_UnityCmd" />
|
||||
</CreateProperty>
|
||||
</Target>
|
||||
<!-- Take all the assemblies and copy them to the debugger dir,
|
||||
with dependency checks (only copies what's changed) -->
|
||||
<Target Name="_CopyDependenciesToDebuggerDir" DependsOnTargets="_ResolveOutputFiles" Inputs="@(_Files)" Outputs="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(Filename)%(Extension)')">
|
||||
<MakeDir Directories="$(UnityBuildDir)$(UnityDebuggerDataDir)" />
|
||||
<Copy SourceFiles="@(_Files)" DestinationFolder="$(UnityBuildDir)$(UnityDebuggerDataDir)" SkipUnchangedFiles="true" />
|
||||
<!-- Touch Files="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(Filename)%(Extension)')" /-->
|
||||
</Target>
|
||||
<Target Name="_SetupDebuggerProject" DependsOnTargets="_ResolveOutputFiles">
|
||||
<!-- MakeDir Directories="$(_ProjectAbsPath)Project\Assets\bin" / -->
|
||||
<MakeDir Directories="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)" />
|
||||
<ItemGroup>
|
||||
<_ToDelete Include="$(_ProjectAbsPath)Project\Assets\bin\*.dll;$(_ProjectAbsPath)Project\Assets\bin\*.pdb" Exclude="@(_Files->'$(_ProjectAbsPath)Project\Assets\bin\%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(_Files)" DestinationFolder="$(_ProjectAbsPath)Project\Assets\bin" SkipUnchangedFiles="true" />
|
||||
<Delete Files="@(_ToDelete)" />
|
||||
</Target>
|
||||
<!-- This target is called by the BuildDebuggerProject target. It builds the unity debugger
|
||||
project and deploys the result to the proper directories -->
|
||||
<Target Name="_BuildDebuggerProject" DependsOnTargets="_SetupDebuggerProject" Inputs="@(_Files)" Outputs="$(_DebuggerExe)">
|
||||
<Exec Command="$(_UnityCmd) -batchmode -projectpath "$(_ProjectAbsPath)Project" -quit" />
|
||||
<Touch Files="$(_DebuggerExe)" />
|
||||
<!-- Clean out files that aren't needed anymore -->
|
||||
<Delete Files="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger_Data\Managed\CodeEditor.*" />
|
||||
<Delete Files="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger_Data\Managed\Mono.Debugger.Soft.dll" />
|
||||
<Delete Files="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger_Data\Managed\Mono.Cecil.dll" />
|
||||
<Delete Files="$(_ProjectAbsPath)Project\Assets\bin" />
|
||||
</Target>
|
||||
<Target Name="_CopyDebuggerBuild" DependsOnTargets="_ResolveOutputFiles;_ResolveOutputDebugger" Inputs="@(_Files->'$(_ProjectAbsPath)Project\Assets\bin\%(RecursiveDir)%(Filename)%(Extension)');@(_DebuggerFiles)" Outputs="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(RecursiveDir)%(Filename)%(Extension)');@(_DebuggerFiles->'$(UnityBuildDir)$(UnityDebuggerDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<Copy SourceFiles="@(_Files)" DestinationFiles="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="@(_DebuggerFiles)" DestinationFiles="@(_DebuggerFiles->'$(UnityBuildDir)$(UnityDebuggerDir)%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
|
||||
<!--Touch Files="@(_DebuggerFiles->'$(UnityBuildDir)$(UnityDebuggerDir)%(RecursiveDir)%(Filename)%(Extension)')" /-->
|
||||
</Target>
|
||||
<Target Name="Deploy" DependsOnTargets="Build" />
|
||||
<Target Name="DeployDebugger" DependsOnTargets="_CopyDebuggerBuild;_CopyDependenciesToDebuggerDir" />
|
||||
<Target Name="BuildDebugger" DependsOnTargets="_BuildDebuggerProject;DeployDebugger" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{367AD6BB-75DA-4B31-ADD9-E89F5E02BA45}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger.Unity.Standalone.Dependencies</RootNamespace>
|
||||
<AssemblyName>Debugger.Unity.Standalone.Dependencies</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Debugger\Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>Debugger %28Debugger\Debugger%29</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Engine\Debugger.Unity.Engine.csproj">
|
||||
<Project>{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}</Project>
|
||||
<Name>Debugger.Unity.Engine</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Standalone\Debugger.Unity.Standalone.csproj">
|
||||
<Project>{05848CF0-F1ED-4806-8A06-62B7AD048BE7}</Project>
|
||||
<Name>Debugger.Unity.Standalone</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Backend.Sdb\Debugger.Backend.Sdb.csproj">
|
||||
<Project>{796B13D9-48B9-4EBA-B274-BBF297AFBD66}</Project>
|
||||
<Name>Debugger.Backend.Sdb</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Backend\Debugger.Backend.csproj">
|
||||
<Project>{3C524BBD-42F2-4BF2-A96A-329A8C76F7F9}</Project>
|
||||
<Name>Debugger.Backend</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="$(SolutionDir)external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
</ProjectReference>
|
||||
|
||||
|
||||
<Reference Include="Mono.Cecil, Version=0.6.9.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\Mono.Cecil.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
|
||||
<Reference Include="Boo.Adt, Version=1.0.4528.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\Boo.Adt.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Boo.Lang, Version=1.0.4528.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\Boo.Lang.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Boo.Lang.PatternMatching, Version=1.0.4528.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\Boo.Lang.PatternMatching.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="Boo.OMeta, Version=1.0.4528.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\Boo.OMeta.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Collections, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Collections.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Composition, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Composition.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Remoting, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\CodeEditor.Remoting.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Grammars, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Grammars.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.IO, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.IO.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Languages.Boo, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Languages.Boo.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Languages.Common, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Languages.Common.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Languages.CSharp, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Languages.CSharp.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Languages.UnityScript, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Languages.UnityScript.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Text.UI.Unity.Engine, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Text.UI.Unity.Engine.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Text.Data, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Text.Data.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Text.Logic, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Text.Logic.dll</HintPath>
|
||||
</Reference>
|
||||
|
||||
<Reference Include="CodeEditor.Text.UI, Version=0.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)libs\editor\CodeEditor.Text.UI.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Empty.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(SolutionDir)Unity.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
<PropertyGroup Condition=" '$(OS)' == 'Unix' ">
|
||||
<UnityBuildDir>$(UnityBuildRoot)MacEditor\</UnityBuildDir>
|
||||
<UnityCmd>$(UnityBuildDir)Unity.app\Contents\MacOS\Unity</UnityCmd>
|
||||
<UnityDebuggerProjectBuildDir>Build\Mac\</UnityDebuggerProjectBuildDir>
|
||||
<UnityDebuggerDir>Unity.app\Contents\Tools\Debugger\</UnityDebuggerDir>
|
||||
<UnityDebuggerDataDir>$(UnityDebuggerDir)Debugger.app\Contents\Data\Managed\</UnityDebuggerDataDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(OS)' != 'Unix' ">
|
||||
<UnityBuildDir>$(UnityBuildRoot)WindowsEditor\</UnityBuildDir>
|
||||
<UnityCmd>$(UnityBuildDir)Unity.exe</UnityCmd>
|
||||
<UnityDebuggerProjectBuildDir>Build\Windows\</UnityDebuggerProjectBuildDir>
|
||||
<UnityDebuggerDir>Data\Tools\Debugger\</UnityDebuggerDir>
|
||||
<UnityDebuggerDataDir>$(UnityDebuggerDir)Debugger_Data\Managed\</UnityDebuggerDataDir>
|
||||
</PropertyGroup>
|
||||
<Target Name="AfterBuild" DependsOnTargets="BuildDebugger" />
|
||||
<!-- Make sure all the assemblies are cleaned from the debugger dir as well -->
|
||||
<Target Name="AfterClean" DependsOnTargets="_ResolveOutputFiles">
|
||||
<Delete Files="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(Filename)%(Extension)')" />
|
||||
</Target>
|
||||
<!-- This target resolves all the assemblies that this project references directly or
|
||||
indirectly, excluding the UnityEngine.dll and UnityEditor.dll -->
|
||||
<Target Name="_ResolveOutputFiles" DependsOnTargets="_ResolvePaths">
|
||||
<CreateItem Condition="'$(Configuration)' == 'Debug'" Include="$(OutDir)*.dll;$(OutDir)*.pdb" Exclude="$(OutDir)UnityEngine*;$(OutDir)UnityEditor*;$(OutDir)$(TargetFilename)">
|
||||
<Output TaskParameter="Include" ItemName="_Files" />
|
||||
</CreateItem>
|
||||
<CreateItem Condition="'$(Configuration)' != 'Debug'" Include="$(OutDir)*.dll" Exclude="$(OutDir)UnityEngine*;$(OutDir)UnityEditor*;$(OutDir)$(TargetFilename)">
|
||||
<Output TaskParameter="Include" ItemName="_Files" />
|
||||
</CreateItem>
|
||||
<Message Text="@(_Files)" Importance="Low" />
|
||||
</Target>
|
||||
<!-- This target resolves all the debugger player files -->
|
||||
<Target Name="_ResolveOutputDebugger" DependsOnTargets="_ResolvePaths">
|
||||
<CreateItem Include="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)**">
|
||||
<Output TaskParameter="Include" ItemName="_DebuggerFiles" />
|
||||
</CreateItem>
|
||||
<Message Text="Debugger Files: @(_DebuggerFiles)" Importance="Low" />
|
||||
</Target>
|
||||
<!-- This target resolves full project and tool paths for the _BuildDebuggerProject target -->
|
||||
<Target Name="_ResolvePaths">
|
||||
<!-- This allows us to later get the full path by doing %(UnityDebuggerProjectDir.FullPath) -->
|
||||
<CreateItem Include="..\Standalone\UnityProject\">
|
||||
<Output TaskParameter="Include" ItemName="UnityDebuggerProjectDir" />
|
||||
</CreateItem>
|
||||
<CreateProperty Value="%(UnityDebuggerProjectDir.FullPath)">
|
||||
<Output TaskParameter="Value" PropertyName="_ProjectAbsPath" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger.app" Condition="'$(OS)'=='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_DebuggerExe" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger.exe" Condition="'$(OS)'!='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_DebuggerExe" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(UnityCmd) -buildOSXPlayer "$(_DebuggerExe)"" Condition="'$(OS)'=='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_UnityCmd" />
|
||||
</CreateProperty>
|
||||
<CreateProperty Value="$(UnityCmd) -buildWindowsPlayer "$(_DebuggerExe)"" Condition="'$(OS)'!='Unix'">
|
||||
<Output TaskParameter="Value" PropertyName="_UnityCmd" />
|
||||
</CreateProperty>
|
||||
</Target>
|
||||
<!-- Take all the assemblies and copy them to the debugger dir,
|
||||
with dependency checks (only copies what's changed) -->
|
||||
<Target Name="_CopyDependenciesToDebuggerDir" DependsOnTargets="_ResolveOutputFiles" Inputs="@(_Files)" Outputs="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(Filename)%(Extension)')">
|
||||
<MakeDir Directories="$(UnityBuildDir)$(UnityDebuggerDataDir)" />
|
||||
<Copy SourceFiles="@(_Files)" DestinationFolder="$(UnityBuildDir)$(UnityDebuggerDataDir)" SkipUnchangedFiles="true" />
|
||||
<!-- Touch Files="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(Filename)%(Extension)')" /-->
|
||||
</Target>
|
||||
<Target Name="_SetupDebuggerProject" DependsOnTargets="_ResolveOutputFiles">
|
||||
<!-- MakeDir Directories="$(_ProjectAbsPath)Project\Assets\bin" / -->
|
||||
<MakeDir Directories="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)" />
|
||||
<ItemGroup>
|
||||
<_ToDelete Include="$(_ProjectAbsPath)Project\Assets\bin\*.dll;$(_ProjectAbsPath)Project\Assets\bin\*.pdb" Exclude="@(_Files->'$(_ProjectAbsPath)Project\Assets\bin\%(RecursiveDir)%(Filename)%(Extension)')" />
|
||||
</ItemGroup>
|
||||
<Copy SourceFiles="@(_Files)" DestinationFolder="$(_ProjectAbsPath)Project\Assets\bin" SkipUnchangedFiles="true" />
|
||||
<Delete Files="@(_ToDelete)" />
|
||||
</Target>
|
||||
<!-- This target is called by the BuildDebuggerProject target. It builds the unity debugger
|
||||
project and deploys the result to the proper directories -->
|
||||
<Target Name="_BuildDebuggerProject" DependsOnTargets="_SetupDebuggerProject" Inputs="@(_Files)" Outputs="$(_DebuggerExe)">
|
||||
<Exec Command="$(_UnityCmd) -batchmode -projectpath "$(_ProjectAbsPath)Project" -quit" />
|
||||
<Touch Files="$(_DebuggerExe)" />
|
||||
<!-- Clean out files that aren't needed anymore -->
|
||||
<Delete Files="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger_Data\Managed\CodeEditor.*" />
|
||||
<Delete Files="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger_Data\Managed\Mono.Debugger.Soft.dll" />
|
||||
<Delete Files="$(_ProjectAbsPath)$(UnityDebuggerProjectBuildDir)Debugger_Data\Managed\Mono.Cecil.dll" />
|
||||
<Delete Files="$(_ProjectAbsPath)Project\Assets\bin" />
|
||||
</Target>
|
||||
<Target Name="_CopyDebuggerBuild" DependsOnTargets="_ResolveOutputFiles;_ResolveOutputDebugger" Inputs="@(_Files->'$(_ProjectAbsPath)Project\Assets\bin\%(RecursiveDir)%(Filename)%(Extension)');@(_DebuggerFiles)" Outputs="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(RecursiveDir)%(Filename)%(Extension)');@(_DebuggerFiles->'$(UnityBuildDir)$(UnityDebuggerDir)%(RecursiveDir)%(Filename)%(Extension)')">
|
||||
<Copy SourceFiles="@(_Files)" DestinationFiles="@(_Files->'$(UnityBuildDir)$(UnityDebuggerDataDir)%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
|
||||
<Copy SourceFiles="@(_DebuggerFiles)" DestinationFiles="@(_DebuggerFiles->'$(UnityBuildDir)$(UnityDebuggerDir)%(RecursiveDir)%(Filename)%(Extension)')" SkipUnchangedFiles="true" />
|
||||
<!--Touch Files="@(_DebuggerFiles->'$(UnityBuildDir)$(UnityDebuggerDir)%(RecursiveDir)%(Filename)%(Extension)')" /-->
|
||||
</Target>
|
||||
<Target Name="Deploy" DependsOnTargets="Build" />
|
||||
<Target Name="DeployDebugger" DependsOnTargets="_CopyDebuggerBuild;_CopyDependenciesToDebuggerDir" />
|
||||
<Target Name="BuildDebugger" DependsOnTargets="_BuildDebuggerProject;DeployDebugger" />
|
||||
</Project>
|
|
@ -1,6 +1,6 @@
|
|||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Standalone
|
||||
namespace Debugger.Unity.Standalone
|
||||
{
|
||||
public class BootStrap : MonoBehaviour
|
||||
{
|
||||
|
|
|
@ -1,93 +1,83 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{05848CF0-F1ED-4806-8A06-62B7AD048BE7}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.Unity.Standalone</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.Unity.Standalone</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BootStrap.cs" />
|
||||
<Compile Include="ExecutionFlowControlWindow.cs" />
|
||||
<Compile Include="MainWindow.cs" />
|
||||
<Compile Include="Main.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServiceClient.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\..\..\Projects\CSharp\UnityEditor.csproj">
|
||||
<Project>{016C8D73-3641-47FB-8D33-7A015A7EC7DB}</Project>
|
||||
<Name>UnityEditor</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\..\..\..\Projects\CSharp\UnityEngine.csproj">
|
||||
<Project>{F0499708-3EB6-4026-8362-97E6FFC4E7C8}</Project>
|
||||
<Name>UnityEngine</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\Frameworks\CodeEditor.Composition\CodeEditor.Composition.csproj">
|
||||
<Project>{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}</Project>
|
||||
<Name>CodeEditor.Composition</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\..\Frameworks\CodeEditor.Remoting\CodeEditor.Remoting.csproj">
|
||||
<Project>{F3B4F98B-CC7D-4E3F-A8B6-FEA8E8C4A078}</Project>
|
||||
<Name>CodeEditor.Remoting</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Debugger\CodeEditor.Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>CodeEditor.Debugger</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Engine\CodeEditor.Debugger.Unity.Engine.csproj">
|
||||
<Project>{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}</Project>
|
||||
<Name>CodeEditor.Debugger.Unity.Engine</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{05848CF0-F1ED-4806-8A06-62B7AD048BE7}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>Debugger.Unity.Standalone</RootNamespace>
|
||||
<AssemblyName>Debugger.Unity.Standalone</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\$(Configuration)\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="CodeEditor.Composition">
|
||||
<HintPath>..\..\..\..\libs\CodeEditor.Composition.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="CodeEditor.Remoting">
|
||||
<HintPath>..\..\..\..\libs\CodeEditor.Remoting.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core">
|
||||
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||
</Reference>
|
||||
<Reference Include="UnityEngine">
|
||||
<HintPath>..\..\..\..\libs\UnityEngine.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BootStrap.cs" />
|
||||
<Compile Include="ExecutionFlowControlWindow.cs" />
|
||||
<Compile Include="MainWindow.cs" />
|
||||
<Compile Include="Main.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="ServiceClient.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Debugger\Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>Debugger %28Debugger\Debugger%29</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\Engine\Debugger.Unity.Engine.csproj">
|
||||
<Project>{0E6DFD1C-426E-4F74-AD5B-D908458B3D7B}</Project>
|
||||
<Name>Debugger.Unity.Engine</Name>
|
||||
<Private>False</Private>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -1,9 +1,7 @@
|
|||
using CodeEditor.Composition;
|
||||
using CodeEditor.Debugger.Unity.Engine;
|
||||
using Mono.Debugger.Soft;
|
||||
using UnityEngine;
|
||||
using Debugger.Unity.Engine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Standalone
|
||||
namespace Debugger.Unity.Standalone
|
||||
{
|
||||
[Export(typeof(IDebuggerWindow))]
|
||||
internal class ExecutionFlowControlWindow : DebuggerWindow
|
||||
|
@ -18,24 +16,24 @@ namespace CodeEditor.Debugger.Unity.Standalone
|
|||
|
||||
public override void OnGUI()
|
||||
{
|
||||
GUI.enabled = _debuggingSession.Suspended;// && !_debuggingSession.WaitingForResponse;
|
||||
if (GUILayout.Button("Continue"))
|
||||
_debuggingSession.SafeResume();
|
||||
if (GUILayout.Button("Step Over"))
|
||||
_debuggingSession.SendStepRequest(StepDepth.Over);
|
||||
if (GUILayout.Button("Step In"))
|
||||
_debuggingSession.SendStepRequest(StepDepth.Into);
|
||||
if (GUILayout.Button("Step Out"))
|
||||
_debuggingSession.SendStepRequest(StepDepth.Out);
|
||||
//GUI.enabled = _debuggingSession.Suspended;// && !_debuggingSession.WaitingForResponse;
|
||||
//if (GUILayout.Button("Continue"))
|
||||
// _debuggingSession.SafeResume();
|
||||
//if (GUILayout.Button("Step Over"))
|
||||
// _debuggingSession.SendStepRequest(StepDepth.Over);
|
||||
//if (GUILayout.Button("Step In"))
|
||||
// _debuggingSession.SendStepRequest(StepDepth.Into);
|
||||
//if (GUILayout.Button("Step Out"))
|
||||
// _debuggingSession.SendStepRequest(StepDepth.Out);
|
||||
|
||||
GUI.enabled = !_debuggingSession.Suspended;// && !_debuggingSession.WaitingForResponse;
|
||||
if (GUILayout.Button("Break"))
|
||||
_debuggingSession.Break();
|
||||
//GUI.enabled = !_debuggingSession.Suspended;// && !_debuggingSession.WaitingForResponse;
|
||||
//if (GUILayout.Button("Break"))
|
||||
// _debuggingSession.Break();
|
||||
|
||||
GUILayout.FlexibleSpace();
|
||||
if (GUILayout.Button("Connect"))
|
||||
_debuggingSession.Connect();
|
||||
GUI.enabled = true;
|
||||
//GUILayout.FlexibleSpace();
|
||||
//if (GUILayout.Button("Connect"))
|
||||
// _debuggingSession.Connect();
|
||||
//GUI.enabled = true;
|
||||
}
|
||||
|
||||
public string Title
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
using CodeEditor.Composition.Hosting;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Standalone
|
||||
namespace Debugger.Unity.Standalone
|
||||
{
|
||||
public class Main
|
||||
{
|
||||
|
@ -13,7 +12,7 @@ namespace CodeEditor.Debugger.Unity.Standalone
|
|||
{
|
||||
Console.WriteLine("Start: " + AssemblyPath);
|
||||
var compositionContainer = new CompositionContainer(new DirectoryCatalog(AssemblyPath));
|
||||
compositionContainer.GetExportedValue<IDebuggerSessionAssembler>().Assemble();
|
||||
//compositionContainer.GetExportedValue<IDebuggerSessionAssembler>().Assemble();
|
||||
view = compositionContainer.GetExportedValue<MainWindow>();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,17 +1,13 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Debugger.Implementation;
|
||||
using CodeEditor.Debugger.Unity.Engine;
|
||||
using CodeEditor.Remoting;
|
||||
using Debugger.Unity.Engine;
|
||||
using UnityEngine;
|
||||
using Debug = UnityEngine.Debug;
|
||||
using Event = Mono.Debugger.Soft.Event;
|
||||
using EventType = UnityEngine.EventType;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Standalone
|
||||
namespace Debugger.Unity.Standalone
|
||||
{
|
||||
[Export]
|
||||
public class MainWindow
|
||||
|
@ -49,7 +45,7 @@ namespace CodeEditor.Debugger.Unity.Standalone
|
|||
return;
|
||||
|
||||
_debuggingSession.TraceCallback += s => Trace(s);
|
||||
_debuggingSession.VMGotSuspended += OnVMGotSuspended;
|
||||
// _debuggingSession.VMGotSuspended += OnVMGotSuspended;
|
||||
// _debuggingSession.Start(DebuggerPortFromCommandLine());
|
||||
|
||||
_debugeeProcessID = DebugeeProcessIDFromCommandLine();
|
||||
|
@ -71,11 +67,11 @@ namespace CodeEditor.Debugger.Unity.Standalone
|
|||
|
||||
private void OnVMGotSuspended(Event e)
|
||||
{
|
||||
var stackFrames = _debuggingSession.GetMainThread().GetFrames();
|
||||
if (!stackFrames.Any()) return;
|
||||
//var stackFrames = _debuggingSession.GetMainThread().GetFrames();
|
||||
//if (!stackFrames.Any()) return;
|
||||
|
||||
var topFrame = stackFrames[0];
|
||||
_sourceNavigator.ShowSourceLocation(Location.FromLocation(topFrame.Location));
|
||||
//var topFrame = stackFrames[0];
|
||||
//_sourceNavigator.ShowSourceLocation(new Location(topFrame.Location));
|
||||
}
|
||||
|
||||
public void OnGUI()
|
||||
|
@ -83,8 +79,8 @@ namespace CodeEditor.Debugger.Unity.Standalone
|
|||
// if (!DebugeeProcessAlive())
|
||||
// Application.Quit();
|
||||
|
||||
if (UnityEngine.Event.current.type == EventType.Layout)
|
||||
_debuggingSession.Update();
|
||||
//if (UnityEngine.Event.current.type == EventType.Layout)
|
||||
// _debuggingSession.Update();
|
||||
|
||||
_windowManager.OnGUI();
|
||||
}
|
||||
|
@ -157,7 +153,7 @@ namespace CodeEditor.Debugger.Unity.Standalone
|
|||
|
||||
public void OnApplicationQuit()
|
||||
{
|
||||
_debuggingSession.Disconnect();
|
||||
// _debuggingSession.Disconnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
[assembly: AssemblyTitle("CodeEditor.Debugger.Standalone")]
|
||||
[assembly: AssemblyTitle("UnityDebugger.Standalone")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
|
|
|
@ -2,9 +2,8 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using CodeEditor.Composition;
|
||||
using CodeEditor.Remoting;
|
||||
using UnityEngine;
|
||||
|
||||
namespace CodeEditor.Debugger.Unity.Standalone
|
||||
namespace Debugger.Unity.Standalone
|
||||
{
|
||||
// keep this in sync with the server
|
||||
enum ServiceRequestType : ushort
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: e56955713f1c11a47ad2d06581adc126
|
||||
MonoAssemblyImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
userData:
|
|
@ -1,7 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 1af1142562ba2034e923b86ecedc8f3e
|
||||
MonoAssemblyImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
userData:
|
|
@ -1,7 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 794d989f8670e7440993a2be4cadc041
|
||||
MonoAssemblyImporter:
|
||||
serializedVersion: 1
|
||||
iconMap: {}
|
||||
executionOrder: {}
|
||||
userData:
|
|
@ -1,27 +0,0 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using CodeEditor.Debugger.Implementation;
|
||||
using Moq;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace CodeEditor.Debugger.IntegrationTests
|
||||
{
|
||||
[TestFixture]
|
||||
class BreakpointMediatorTests : DebuggerTestBase
|
||||
{
|
||||
[Test]
|
||||
public void CanSetBreakpointOnLine()
|
||||
{
|
||||
SetupTestWithBreakpoint(7);
|
||||
|
||||
_vm.OnBreakpoint += e => {
|
||||
Assert.AreEqual("Void TestClass:Main ()", e.Method.FullName);
|
||||
Finish();
|
||||
};
|
||||
|
||||
WaitUntilFinished();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -5,7 +5,7 @@ using System.Security.Cryptography;
|
|||
using System.Text;
|
||||
using System.Xml.Serialization;
|
||||
|
||||
namespace CodeEditor.Debugger.IntegrationTests
|
||||
namespace Debugger.IntegrationTests
|
||||
{
|
||||
public static class AssemblyCache
|
||||
{
|
|
@ -0,0 +1,21 @@
|
|||
using NUnit.Framework;
|
||||
|
||||
namespace Debugger.IntegrationTests
|
||||
{
|
||||
[TestFixture]
|
||||
class BreakpointMediatorTests : DebuggerTestBase
|
||||
{
|
||||
[Test]
|
||||
public void CanSetBreakpointOnLine()
|
||||
{
|
||||
SetupTestWithBreakpoint(7);
|
||||
|
||||
//_vm.OnBreakpoint += e => {
|
||||
// Assert.AreEqual("Void TestClass:Main ()", e.Method.FullName);
|
||||
// Finish();
|
||||
//};
|
||||
|
||||
WaitUntilFinished();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||
using System.IO;
|
||||
using System.Linq;
|
||||
|
||||
namespace CodeEditor.Debugger.IntegrationTests
|
||||
namespace Debugger.IntegrationTests
|
||||
{
|
||||
public static class CSharpCompiler
|
||||
{
|
|
@ -1,84 +1,83 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.IntegrationTests</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.IntegrationTests</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="Moq">
|
||||
<HintPath>$(SolutionDir)..\Moq\Moq.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)..\NUnit\bin\nunit.framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyCache.cs" />
|
||||
<Compile Include="BreakpointMediatorTests.cs" />
|
||||
<Compile Include="DebuggerTestBase.cs" />
|
||||
<Compile Include="ExecutingLocationProviderTests.cs" />
|
||||
<Compile Include="Synchronization.cs" />
|
||||
<Compile Include="VirtualMachineTests.cs" />
|
||||
<Compile Include="CSharpCompiler.cs" />
|
||||
<Compile Include="Paths.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Shell.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Frameworks\CodeEditor.Composition\CodeEditor.Composition.csproj">
|
||||
<Project>{9DB8BFD3-06C8-4A8C-8842-5931B924B56C}</Project>
|
||||
<Name>CodeEditor.Composition</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Debugger\Debugger\CodeEditor.Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>CodeEditor.Debugger</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{E169204B-D59F-4CDA-A0A9-CBCEF7F538B3}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>CodeEditor.Debugger.IntegrationTests</RootNamespace>
|
||||
<AssemblyName>CodeEditor.Debugger.IntegrationTests</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<SolutionDir Condition="'$(SolutionDir)' == ''">..\..\..\</SolutionDir>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="CodeEditor.Composition">
|
||||
<HintPath>..\..\..\libs\CodeEditor.Composition.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Moq">
|
||||
<HintPath>..\..\..\libs\Moq.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(SolutionDir)..\NUnit\bin\nunit.framework.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyCache.cs" />
|
||||
<Compile Include="BreakpointMediatorTests.cs" />
|
||||
<Compile Include="DebuggerTestBase.cs" />
|
||||
<Compile Include="ExecutingLocationProviderTests.cs" />
|
||||
<Compile Include="Synchronization.cs" />
|
||||
<Compile Include="VirtualMachineTests.cs" />
|
||||
<Compile Include="CSharpCompiler.cs" />
|
||||
<Compile Include="Paths.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<Compile Include="Shell.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\..\external\Mono.Debugger.Soft\Mono.Debugger.Soft.csproj">
|
||||
<Project>{F2D07F82-9C51-4889-8987-4CEF47490751}</Project>
|
||||
<Name>Mono.Debugger.Soft</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Debugger\Debugger\Debugger.csproj">
|
||||
<Project>{6441A270-0DF3-42C9-9409-02BC273507DA}</Project>
|
||||
<Name>Debugger %28Debugger\Debugger%29</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
-->
|
||||
</Project>
|
|
@ -1,12 +1,11 @@
|
|||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
using CodeEditor.Debugger.Implementation;
|
||||
using Debugger.Implementation;
|
||||
using Mono.Debugger.Soft;
|
||||
using NUnit.Framework;
|
||||
using VirtualMachine = CodeEditor.Debugger.Implementation.VirtualMachine;
|
||||
|
||||
namespace CodeEditor.Debugger.IntegrationTests
|
||||
namespace Debugger.IntegrationTests
|
||||
{
|
||||
internal class DebuggerTestBase
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using NUnit.Framework;
|
||||
|
||||
namespace CodeEditor.Debugger.IntegrationTests
|
||||
namespace Debugger.IntegrationTests
|
||||
{
|
||||
[TestFixture]
|
||||
class ExecutingLocationProviderTests : DebuggerTestBase
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.IO;
|
||||
|
||||
namespace CodeEditor.Debugger.IntegrationTests
|
||||
namespace Debugger.IntegrationTests
|
||||
{
|
||||
public static class Paths
|
||||
{
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче