-
Notifications
You must be signed in to change notification settings - Fork 679
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Incorproate coreclr-debug into omnisharp extension
1. Adds coreclr-debug.ts to implement coreclr-debug acquisition and hooks it into omnisharp's activation handler 2. Adds the coreclr-debug directory containing the project.json, NuGet.config and dummy.cs required dotnet restore/publish 3. Adds the debugger section to contributes in package.json 4. Adds .vscodeignore to exclude items not needed at runtime from being packaged TODO: 1. Update project.json references 2. Update NuGet.config to not point to http://dbgnuget (switch to nuget.org once pacakges are published publicly) 3. Create some completion file that we can check for correct complete installation 4. Improve reporting status of acquisition to end user
- Loading branch information
Showing
11 changed files
with
547 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
bin | ||
node_modules | ||
out | ||
|
||
*.vsix |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ | |
], | ||
"stopOnEntry": false, | ||
"sourceMaps": true, | ||
"outDir": "out" | ||
"outDir": "${workspaceRoot}/out" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
**/*.gitignore | ||
tsconfig.json | ||
|
||
src/** | ||
**/*.map | ||
|
||
.vscode/** | ||
|
||
coreclr-debug/debugAdapters/** | ||
coreclr-debug/bin/** | ||
coreclr-debug/obj/** | ||
coreclr-debug/project.lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bin | ||
obj | ||
project.lock.json | ||
debugAdapters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<packageSources> | ||
<!--To inherit the global NuGet package sources remove the <clear/> line below --> | ||
<clear /> | ||
<add key="dotnet-core" value="https://www.myget.org/F/dotnet-core/api/v3/index.json" /> | ||
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" /> | ||
<!-- TODO: remove this before going public, we must publish to public feeds first --> | ||
<add key="dbgnuget" value="http://dbgnuget/nuget" /> | ||
</packageSources> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using System; | ||
|
||
namespace Dummy | ||
{ | ||
class Dummy | ||
{ | ||
static void Main(string[] args) { | ||
// empty boilerplate required by dotnet build/publish to emit an entry point | ||
// The entrypoint created is dummy[.exe], which we rename to OpenDebugAD7[.exe] | ||
// The generated entry point will then run OpenDebugAD7.dll for us | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"name": "dummy", | ||
"compilationOptions": { | ||
"emitEntryPoint": true | ||
}, | ||
"dependencies": { | ||
"Microsoft.VisualStudio.clrdbg": "14.0.25017-pb-2822693", | ||
"Microsoft.VisualStudio.clrdbg.MIEngine": "14.0.30217-pb-1", | ||
"Microsoft.VisualStudio.OpenDebugAD7": "1.0.20217-pb-1", | ||
"NETStandard.Library": "1.0.0-rc3-23803", | ||
"Newtonsoft.Json": "7.0.1", | ||
"Microsoft.VisualStudio.Debugger.Interop.Portable": "1.0.1", | ||
"System.Collections.Specialized": "4.0.1-rc3-23803", | ||
"System.Collections.Immutable": "1.2.0-rc3-23803", | ||
"System.Diagnostics.Process" : "4.1.0-rc3-23803", | ||
"System.Diagnostics.StackTrace": "4.0.1-rc3-23803", | ||
"System.Dynamic.Runtime": "4.0.11-rc3-23803", | ||
"Microsoft.CSharp": "4.0.1-rc3-23803", | ||
"System.Threading.Tasks.Dataflow": "4.6.0-rc3-23803", | ||
"System.Threading.Thread": "4.0.0-rc3-23803", | ||
"System.Xml.XDocument": "4.0.11-rc3-23803", | ||
"System.Xml.XmlDocument": "4.0.1-rc3-23803", | ||
"System.Xml.XmlSerializer": "4.0.11-rc3-23803", | ||
"System.ComponentModel": "4.0.1-rc3-23803", | ||
"System.ComponentModel.Annotations": "4.1.0-rc3-23803", | ||
"System.ComponentModel.EventBasedAsync": "4.0.11-rc3-23803", | ||
"System.Runtime.Serialization.Primitives": "4.1.0-rc3-23803", | ||
"System.Net.Http": "4.0.1-rc3-23803" | ||
}, | ||
"frameworks": { | ||
"dnxcore50": { } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.