Skip to content
This repository was archived by the owner on Nov 13, 2026. It is now read-only.

Add --waitfordebugger switch to ILC argument parser - #1532

Merged
jkotas merged 1 commit into
dotnet:masterfrom
wjk:corert-issue-1531
Jul 16, 2016
Merged

jkotas merged 1 commit into
dotnet:masterfrom
wjk:corert-issue-1531

Conversation

@wjk

@wjk wjk commented Jul 16, 2016

Copy link
Copy Markdown
Contributor

Here is the PR with the change discussed in #1531. There are two things I should note here:

  1. Instead of adding the code that handles the --waitfordebugger switch into Internal.CommandLine.Helpers as @jkotas suggested, I placed it into the ArgumentSyntax constructor instead. I did this for two reasons: One, because doing it this way would allow me to pass --waitfordebugger at any location in the command-line arguments; and two, because this way it will appear in the help output for ILC.
  2. I did not display the Process ID as was done in .NET CLI, because this would require adding a reference to another NuGet package. I do not know if this would be desirable or not. However, for my needs, this doesn't matter, as I can just find the CoreRun.exe process in the Attach to Process dialog box by its image name.

@dnfclas

dnfclas commented Jul 16, 2016

Copy link
Copy Markdown

Hi @wjk, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@jkotas

jkotas commented Jul 16, 2016

Copy link
Copy Markdown
Member

LGTM. Thanks!

@jkotas
jkotas merged commit a917be4 into dotnet:master Jul 16, 2016
@wjk
wjk deleted the corert-issue-1531 branch July 16, 2016 21:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants