Rider Debug - External Sources Follow
I'm working on a project, that is fairly simple, yesterday in windows while debugging I had an exception and Rider showed the External Sources dialog which then took over five minutes to finish before allowing me to continue.
Today I added a typo and tried the same thing on Linux, which also took more then five minutes to load. Because this is a simple SQL call, I don't understand why it takes so long to load the external sources. Also why this is enabled by default if it makes debugging impossible, as waiting to see the exception takes more then five minutes.
Is it at all possible to have loading external sources work with Net 6 or is the only solution to disable it?
Update: tried it in the EAP and at least I got a little more feedback. In the EAP External Sources dialog it says Downloading Microsoft.Data.SqlClient.pdb when the exception is first hit, any subsequent debug sessions then result in an exception causing the External Sources dialog to appear and be blank and frozen for five minutes plus till it continues.
Update:
From the looks of the Debug output Rider is unable to find any pdb files.
Linux Output:
Loaded Assembly '/usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encodings.Web.dll'
Loading module /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encodings.Web.dll in application domain 1:clrhost
Pdb file for assembly /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Text.Encodings.Web.dll was not found or failed to read
Loaded Assembly '/usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Intrinsics.dll'
Loading module /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Intrinsics.dll in application domain 1:clrhost
Pdb file for assembly /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Runtime.Intrinsics.dll was not found or failed to read
Loaded Assembly '/usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Numerics.Vectors.dll'
Loading module /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Numerics.Vectors.dll in application domain 1:clrhost
Pdb file for assembly /usr/share/dotnet/shared/Microsoft.NETCore.App/6.0.3/System.Numerics.Vectors.dll was not found or failed to read
Windows Output:
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Console.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Console.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Console.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Net.Http.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Net.Http.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Net.Http.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Private.Uri.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Private.Uri.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Private.Uri.dll was not found or failed to read
Loaded Assembly 'C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Net.Primitives.dll'
Loading module C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Net.Primitives.dll in application domain 1:clrhost
Pdb file for assembly C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.3\System.Net.Primitives.dll was not found or failed to read
Please sign in to leave a comment.
Hi,
Unfortunately, this is a known issue: https://youtrack.jetbrains.com/issue/RIDER-75244.
As a workaround, please disable "Preferences | Build, Execution, Deployment | Debugger - Enable external source debug".
K.R.
Sofia