question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

can't debug netcore 3 on debian linux (buster)

See original GitHub issue

Environment data

dotnet --info output:

.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview-009812
 Commit:    e3abf6e935

Runtime Environment:
 OS Name:     debian
 OS Version:  
 OS Platform: Linux
 RID:         debian-x64
 Base Path:   /usr/share/dotnet/sdk/3.0.100-preview-009812/

Host (useful for support):
  Version: 3.0.0-preview-27122-01
  Commit:  00c5c8bc40

.NET Core SDKs installed:
  3.0.100-preview-009812 [/usr/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0-preview-18579-0056 [/usr/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0-preview-27122-01 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

VS Code version: C# Extension version: 1.17.1

Steps to reproduce

  1. Add breakpoint
  2. Start debugging

Expected behavior

stop on break

Actual behavior

Debug adapter process has terminated unexpectedly (exit code: null)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gregg-miskellycommented, Jan 28, 2019

Debugging on Linux/Mac didn’t work in .NET Core 3.0 preview 1. This has been fixed for the last month in master, so if you try something more recent it should work again.

0reactions
LuizFrracommented, Jan 28, 2019

Im with the same trouble, i can debug net 2.2 but not 3.0

Read more comments on GitHub >

github_iconTop Results From Across the Web

5.4. Troubleshooting the Installation Process - Debian
If you get through the initial boot phase but cannot complete the install, the menu option Save debug logs may be helpful. It...
Read more >
Unable to debug dotnet core GenericHost docker container
I found one of my referenced libraries had a reference to Grpc. AspNetCore . Once i moved this code out, it was able...
Read more >
Debug .NET Core on Linux - Visual Studio (Windows)
Debug .NET Core on Linux using Secure Shell (SSH) by attaching to a process. Prepare your app for debugging. Build and deploy the...
Read more >
Cannot debug asp.net core app, just get message "Cannot ...
NET Framework) MVC\Webforms project have the same issue? 2) Does Ctrl+F5 work? Ie running w/o attaching a debugger. 3) Can you try repairing...
Read more >
.NET Core Tip 1: Beware of TimeZones across platforms like ...
So now we are sure we are using the Debian GNU Linux version 10 (buster). Now, what can we do to solve our...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found