Add netcoredbg debug adapter, dotnet locator, and runnables - #95
Open
Gambl3r08 wants to merge 1 commit into
Open
Add netcoredbg debug adapter, dotnet locator, and runnables#95Gambl3r08 wants to merge 1 commit into
Gambl3r08 wants to merge 1 commit into
Conversation
|
this is a must , |
1 task
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds debugging support (#12) via the netcoredbg debug adapter, plus a
dotnetdebug locator and test/main runnables.
What this does
JSON schema for
launchandattach, and adebugger.scmquery for inlinevalues while paused.
dotnetlocator: turns adotnet runtask into build-then-debug. Itfinds the assembly with
dotnet msbuild -getProperty:TargetPath— no shellscripts and no filesystem probing, which I believe solves the csproj
discovery problem described in Add zed-netcoredbg to csharp extension, add runnables #43.
[Fact]/[Theory]/[Test]/[TestMethod]/[TestCase]methods, test classes (including xUnit classes,detected by their contents since xUnit has no class attribute), and
Main.Deliberate limitations
dotnet test: the test assembly is a VSTest-drivenlibrary, and launching it directly exits without running anything (verified).
Instead there is a "wait for debugger" task using
VSTEST_HOST_DEBUG=1, andthe user attaches to the printed pid — same conclusion Add zed-netcoredbg to csharp extension, add runnables #43 reached.
writes errors like MSB1003 to stdout with an empty stderr.
Relationship to #43: overlapping goal; this implementation needs no shell
scripting for project discovery. Happy to coordinate or merge efforts.