[Generator] Allow to have a way to attach to the generator. by mandel-macaque · Pull Request #19565 · dotnet/macios (original) (raw)

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation28 Commits5 Checks0 Files changed

[Generator] Allow to have a way to attach to the generator. #19565

Changes from 1 commit

Commits

File filter

Filter by extension

Conversations

Failed to load comments.

Loading

Jump to

Jump to file

Failed to load files.

Loading

Diff view
Diff view

Add args to cwl.

commit 4c5b835b49cbbcb8a02d2ac99f09bdad64d4528a

2 changes: 1 addition & 1 deletion src/bgen/BindingTouch.cs

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

[ Show hidden characters]({{ revealButtonHref }})

Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public static int Main (string [] args)
// block the generator until a debugger has attached to it
// our customers won't find any use for this.
var process = Process.GetCurrentProcess();
mandel-macaque marked this conversation as resolved. Show resolved Hide resolved
Console.WriteLine ($"Waiting for debugger to attach: ({ process.Id}) {process.ProcessName}");
Console.WriteLine ($"Waiting for debugger to attach: ({ process.Id}) {process.ProcessName} { string.Join (" ", args)}");
while (!Debugger.IsAttached) {
Thread.Sleep (100);
}
Expand Down