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

Logpoint freezes on start #601

Closed
Xariif opened this issue Oct 10, 2023 · 1 comment
Closed

Logpoint freezes on start #601

Xariif opened this issue Oct 10, 2023 · 1 comment
Labels
area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire bug Something isn't working

Comments

@Xariif
Copy link

Xariif commented Oct 10, 2023

Describe the Issue

Program.cs

for (int i = 0; i < 9; i++)
{	
	Console.WriteLine(i);
}

In 3rd line I've logpoint with "i = {i}" message, but after start debugging it's display in debug console first log point and frezes for like 10-15 seconds don't know why.

Steps To Reproduce

  1. dotnet console app in .NET8.0
  2. In debugging session with follwoing launch.json
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": ".NET Core Launch (console)",
			"type": "coreclr",
			"request": "launch",
			"preLaunchTask": "build",
			"program": "${workspaceFolder}/bin/Debug/net8.0/Debug101.dll",
			"args": [],
			"cwd": "${workspaceFolder}",
			"stopAtEntry": false,
			"console": "internalConsole"
		}
	]
}

task.json

{
	"version": "2.0.0",
	"tasks": [
		{
			"label": "build",
			"command": "dotnet",
			"type": "process",
			"args": [
				"build",
				"${workspaceFolder}/Debug101.csproj"
			],
			"problemMatcher": "$msCompile"
		}
	]
}

Expected Behavior

Debugging session should dont freeze after displaying first log message

Environment Information

I'm using windows 11 Pro version: 10.0.22621 compilation 22621 and newest vs code

@Xariif Xariif added the bug Something isn't working label Oct 10, 2023
@microsoft-issue-labeler microsoft-issue-labeler bot added the area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire label Oct 10, 2023
@WardenGnaw
Copy link
Member

Moving to dotnet/vscode-csharp#6585

@WardenGnaw WardenGnaw closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-dotnet-debugging Issues around .NET Debugging with console, ASP.NET, or Aspire bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants