Skip to content
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 and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Breakpoint doesn't work in Top-level statements #4

Open
kinglionsoft opened this issue Jun 13, 2023 · 2 comments
Open

Breakpoint doesn't work in Top-level statements #4

kinglionsoft opened this issue Jun 13, 2023 · 2 comments

Comments

@kinglionsoft
Copy link

Nice work! It seems that Breakpoint doesn't work Top-level statements (programs without Main methods).

string localVariable = "Hello world!";

 /* Breakpoint */
Console.WriteLine(localVariable);
@kinglionsoft
Copy link
Author

@arklumpus
Copy link
Owner

arklumpus commented Jun 18, 2023

Hi! Thanks for pointing this out, I have changed the code to allow (synchronous) breakpoints in top-level statements.

I pushed a new version 1.1.6-a1 to Nuget with this fix (it might take a few minutes to appear).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants