Rider can't start Debug Session
I'm working on a MAUI UWP app. The app is working fine, but somehow I can't start a debug session for it.
If I start one, the app starts, the background Task "Initializing Debugger" runs and then suddenly stops. The app is still running but is "detached" from the IDE.
Debugger.backend.log:
17:53:24.096 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Starting component registration
17:53:24.112 |I| ProcessWatchdog | WatchParentPid:7964:7 | Monitoring parent process PID:7964
17:53:24.116 |V| DebuggerWorker | Debugger worker MTA main thread:6 | <Start> "MarkedAssembliesProvider" Collecting marked debugger assemblies
17:53:24.120 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Root assembly dir: C:\Program Files\JetBrains\JetBrains Rider 2022.2.3\lib\ReSharperHost
17:53:24.121 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding JetBrains.Debugger.Worker, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.144 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding Mono.Debugging, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.177 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding JetBrains.Debugger.Worker.Core, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.193 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding Mono.Debugging, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.195 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding Mono.Debugging.Soft, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.205 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding Mono.Debugging.Win32, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.218 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding Mono.Debugging, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.220 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding Mono.Debugging, Version=777.0.0.0, Culture=neutral, PublicKeyToken=1010a0d8d6380325 because it's marked
17:53:24.224 |V| DebuggerWorker | Debugger worker MTA main thread:6 | <Finish> "MarkedAssembliesProvider" Collecting marked debugger assemblies time=108ms
17:53:24.225 |V| DebuggerWorker | Debugger worker MTA main thread:6 | <Start> "MarkedAssembliesFromDirectoryProvider" Collecting marked debugger assemblies in directory C:\Program Files\JetBrains\JetBrains Rider 2022.2.3\plugins\rider-unity\dotnetDebuggerWorker
17:53:24.330 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Root assembly dir: C:\Program Files\JetBrains\JetBrains Rider 2022.2.3\plugins\rider-unity\dotnetDebuggerWorker
17:53:24.330 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Adding JetBrains.ReSharper.Plugins.Unity.Rider.Debugger, Version=2023.1.0.164, Culture=neutral, PublicKeyToken=0f46ab053645825e because it's marked
17:53:24.331 |V| DebuggerWorker | Debugger worker MTA main thread:6 | <Finish> "MarkedAssembliesFromDirectoryProvider" Collecting marked debugger assemblies in directory C:\Program Files\JetBrains\JetBrains Rider 2022.2.3\plugins\rider-unity\dotnetDebuggerWorker time=105ms
17:53:24.341 |V| ClientSocket-DebuggerWorkerToFrontend-Sender| Debugger worker MTA main thread:6 | PAUSE ('Disconnected') :: state=Initialized
17:53:24.348 |V| Client | ClientSocket-DebuggerWorkerToFrontend-Receiver:12 | ClientSocket-DebuggerWorkerToFrontend : started
17:53:24.357 |V| Client | ClientSocket-DebuggerWorkerToFrontend-Receiver:12 | ClientSocket-DebuggerWorkerToFrontend: connecting to 127.0.0.1:3920.
17:53:24.358 |V| Client | ClientSocket-DebuggerWorkerToFrontend-Receiver:12 | ClientSocket-DebuggerWorkerToFrontend : connected
17:53:24.361 |V| ClientSocket-DebuggerWorkerToFrontend-Sender| ClientSocket-DebuggerWorkerToFrontend-Receiver:12 | RESUME :: state=AsyncProcessing
17:53:24.390 |V| ServerSocket-DebuggerWorkerToBackend-Sender| Debugger worker MTA main thread:6 | PAUSE ('Disconnected') :: state=Initialized
17:53:24.392 |V| Server | Debugger worker MTA main thread:6 | ServerSocket-DebuggerWorkerToBackend : started, port: 3925
17:53:24.394 |V| Server | ServerSocket-DebuggerWorkerToBackend-Receiver:16 | ServerSocket-DebuggerWorkerToBackend : accepting, port: 3925
17:53:24.522 |I| DummyEncManager | Debugger worker MTA main thread:6 | Created DummyEncManager
17:53:24.563 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Component Worker resolved
17:53:24.618 |V| Server | ServerSocket-DebuggerWorkerToBackend-Receiver:16 | ServerSocket-DebuggerWorkerToBackend : accepted
17:53:24.618 |V| Server | ServerSocket-DebuggerWorkerToBackend-Receiver:16 | ServerSocket-DebuggerWorkerToBackend : connected
17:53:24.618 |V| ServerSocket-DebuggerWorkerToBackend-Sender| ServerSocket-DebuggerWorkerToBackend-Receiver:16 | RESUME :: state=AsyncProcessing
17:53:24.637 |V| RiderDebuggerWorker | Debugger worker MTA main thread:6 | <Measured> "wait until host connected to us" time=24ms
17:53:24.644 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Initialization done successfully
17:53:24.644 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Dispatcher thread is MTA
17:53:24.950 |V| RiderDebuggerWorker | Debugger worker MTA main thread:6 | Debugger session start initiated by frontend, start info: UwpStartInfo ( fullPackageName = "2618ACBF-2B59-456A-827E-7D527376A8F7_1.0.0.1_x64__9zz4h110yvjzm" appUserModelId = "79EF59A8-F8A9-4368-B31D-7D12D666E956_9zz4h110yvjzm!App" uwpDebugSessionId = 36)
17:53:24.988 |I| BindingRedirectManager | Debugger worker MTA main thread:6 | BindingRedirectManager initialized
17:53:25.029 |I| OutputAssembliesProviderOverProtocol| Host Dispatcher Thread:14 | Count of output assemblies received from host: 2
17:53:25.049 |I| OutputAssembliesProviderOverProtocol| Host Dispatcher Thread:14 | Processed output assemblies, Count: 2
17:53:25.083 |I| ContextProcessors | Debugger worker MTA main thread:6 | Trying to detect correct process information, Platform = Windows
17:53:25.089 |I| ContextProcessors | Debugger worker MTA main thread:6 | Current process is 64 bit
17:53:25.111 |I| DummyEncManager | Debugger worker MTA main thread:6 | Created DummyEncManager
17:53:25.117 |V| RiderDebuggerSessionFrontend | Debugger worker MTA main thread:6 | Session of type RiderDebuggerSessionFrontend created
17:53:25.125 |V| RiderDebuggerWorker | Debugger worker MTA main thread:6 | Debugger session engine created, start info: UwpStartInfo ( fullPackageName = "2618ACBF-2B59-456A-827E-7D527376A8F7_1.0.0.1_x64__9zz4h110yvjzm" appUserModelId = "79EF59A8-F8A9-4368-B31D-7D12D666E956_9zz4h110yvjzm!App" uwpDebugSessionId = 36)17:53:25.186 |I| UWPCoreClrDebuggerSession | :9 | Before UWP app activation
17:53:25.294 |I| UWPCoreClrDebuggerSession | :9 | UWP app was activated successfully
17:53:27.196 |W| IBindingRedirectResolver | :10 | Could not load assembly: Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de-DE, PublicKeyToken=31bf3856ad364e35. Try load Microsoft.CodeAnalysis.CSharp.resources
17:53:27.197 |W| BindingRedirectManager | :10 | Could not resolve assembly for args: Name = Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de-DE, PublicKeyToken=31bf3856ad364e35
17:53:27.197 |W| IBindingRedirectResolver | :10 | Could not load assembly: Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de-DE, PublicKeyToken=31bf3856ad364e35. Try load Microsoft.CodeAnalysis.CSharp.resources
17:53:27.197 |W| BindingRedirectManager | :10 | Could not resolve assembly for args: Name = Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de-DE, PublicKeyToken=31bf3856ad364e35
17:53:27.197 |W| IBindingRedirectResolver | :10 | Could not load assembly: Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de, PublicKeyToken=31bf3856ad364e35. Try load Microsoft.CodeAnalysis.CSharp.resources
17:53:27.198 |W| BindingRedirectManager | :10 | Could not resolve assembly for args: Name = Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de, PublicKeyToken=31bf3856ad364e35
17:53:27.198 |W| IBindingRedirectResolver | :10 | Could not load assembly: Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de, PublicKeyToken=31bf3856ad364e35. Try load Microsoft.CodeAnalysis.CSharp.resources
17:53:27.198 |W| BindingRedirectManager | :10 | Could not resolve assembly for args: Name = Microsoft.CodeAnalysis.CSharp.resources, Version=42.42.42.42, Culture=de, PublicKeyToken=31bf3856ad364e35
17:53:27.198 |I| RoslynWarmer | :10 | Roslyn warmed up
17:53:35.246 |V| IModelStartInfoHandler | Debugger worker MTA main thread:6 | <Measured> "Activation uwp app" time=10077ms
17:53:35.246 |E| RiderDebuggerWorker | Debugger worker MTA main thread:6 | Unable to start debug session. Fire terminating Couldn't collect pid and tid after 10000 ms
--- EXCEPTION #1/2 [TimeOutException]
Message = “Couldn't collect pid and tid after 10000 ms”
ExceptionPath = Root.InnerException
ClassName = Mono.Debugging.Evaluation.TimeOutException
Data.ThreadLocalDebugInfo = “property `DebuggerWorkerToFrontend.DebuggerWorkerModel.activeSession.$.initialized` (9035644635072945435)”
HResult = COR_E_EXCEPTION=80131500
Source = Mono.Debugging.Win32
StackTraceString = “
bei Mono.Debugging.Win32.UwpActivationUtils.ActivateUwpUnderDebug(Lifetime lf, Int32 namedPipePostfix, String fullPackageName, String appUserModelId) in ActivateUwpUnderDebug.il:line IL_0069 mvid 0B54
bei JetBrains.Debugger.Worker.UWP.UwpStartDebugHandler.GetProcessInfo(UwpStartInfo startInfo) in GetProcessInfo.il:line IL_001B mvid 014F
bei JetBrains.Debugger.Worker.SessionStartup.LaunchableByExternalSystemSessionStarter.DoStartSession(IDebuggerSession session, IDebuggerSessionOptions options) in DoStartSession.il:line IL_0000 mvid 014F
bei JetBrains.Debugger.Worker.RiderDebuggerSessionFrontend.Run(IDebuggerSessionStarter sessionStarter) in Run.il:line IL_0032 mvid F99C
bei JetBrains.Debugger.Worker.RiderDebuggerWorker.Init(IDebugSessionFrontend debugSessionFrontend, DotNetDebuggerSessionModel sessionModel, IDebuggerSessionStarter debuggerSessionStarter) in Init.il:line IL_003C mvid F99C
”--- Outer ---
--- EXCEPTION #2/2 [LoggerException]
Message = “Unable to start debug session. Fire terminating Couldn't collect pid and tid after 10000 ms”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
bei JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment) in LogException.il:line IL_0025 mvid 3127
bei JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message) in Error.il:line IL_0025 mvid 3127
bei JetBrains.Debugger.Worker.RiderDebuggerWorker.Init(IDebugSessionFrontend debugSessionFrontend, DotNetDebuggerSessionModel sessionModel, IDebuggerSessionStarter debuggerSessionStarter) in Init.il:line IL_003C mvid F99C
bei JetBrains.Debugger.Worker.RiderDebuggerWorker.<>c__DisplayClass18_0.<StartSession>b__0(Boolean initialized) in RiderDebuggerWorker.il:line IL_0020 mvid F99C
bei JetBrains.Collections.Viewable.SignalBase`1.Fire(T value) in Fire.il:line IL_001E mvid 21AB
bei JetBrains.Collections.Viewable.ViewableProperty`1.set_Value(T value)
bei JetBrains.Rd.Impl.RdProperty`1.OnWireReceived(UnsafeReader reader) in OnWireReceived.il:line IL_00AE mvid 4FEC
bei JetBrains.Rd.Impl.MessageBroker.Execute(IRdWireable reactive, Byte[] msg) in Execute.il:line IL_0075 mvid 4FEC
bei JetBrains.Rd.Impl.MessageBroker.<>c__DisplayClass14_0.<Dispatch>b__1() in MessageBroker.il:line IL_00BA mvid 4FEC
bei Mono.Debugging.Threading.QueuedTasks.ProcessDebuggerTask(QueuedDebuggerTask& item) in ProcessDebuggerTask.il:line IL_004C mvid 3F0E
bei Mono.Debugging.Threading.QueuedTasks.Pump(Func`1 condition, TimeSpan timeout, QueuedDebuggerTaskType type) in Pump.il:line IL_010D mvid 3F0E
bei JetBrains.Debugger.Worker.DebuggerWorkerLauncher.<>c__DisplayClass2_0.<Launch>b__1() in DebuggerWorkerLauncher.il:line IL_026F mvid 014F
bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) in RunInternal.il:line IL_0079 mvid 050F
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) in Run.il:line IL_0009 mvid 050F or Run.il:line IL_0034 mvid 050F
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) in Run.il:line IL_0009 mvid 050F or Run.il:line IL_0034 mvid 050F
bei System.Threading.ThreadHelper.ThreadStart() in ThreadStart.il:line IL_002A mvid 050F
”17:53:35.266 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Process was terminated
17:53:35.267 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Terminating root container scope
17:53:35.267 |V| Base | Debugger worker MTA main thread:6 | closing server socket17:53:35.269 |V| Server | Debugger worker MTA main thread:6 | ServerSocket-DebuggerWorkerToBackend: start termination of lifetime
17:53:35.269 |V| Server | Debugger worker MTA main thread:6 | ServerSocket-DebuggerWorkerToBackend: send buffer stopped, success: True
17:53:35.269 |V| Server | Debugger worker MTA main thread:6 | ServerSocket-DebuggerWorkerToBackend: closing socket because of lifetime
17:53:35.269 |V| Server | Debugger worker MTA main thread:6 | ServerSocket-DebuggerWorkerToBackend: waiting for receiver thread
17:53:35.270 |V| Server | ServerSocket-DebuggerWorkerToBackend-Receiver:16 | Exception in SocketWire.Receive: SocketException ServerSocket-DebuggerWorkerToBackend Ein Blockierungsvorgang wurde durch einen Aufruf von WSACancelBlockingCall unterbrochen
17:53:35.270 |V| Server | ServerSocket-DebuggerWorkerToBackend-Receiver:16 | ServerSocket-DebuggerWorkerToBackend: Total traffic: sent 210, received 1541
17:53:35.270 |V| Server | ServerSocket-DebuggerWorkerToBackend-Receiver:16 | ServerSocket-DebuggerWorkerToBackend: terminated.
17:53:35.270 |V| Server | Debugger worker MTA main thread:6 | ServerSocket-DebuggerWorkerToBackend: termination finished
17:53:35.271 |V| Client | Debugger worker MTA main thread:6 | ClientSocket-DebuggerWorkerToFrontend: start termination of lifetime
17:53:35.272 |V| Client | Debugger worker MTA main thread:6 | ClientSocket-DebuggerWorkerToFrontend: send buffer stopped, success: True
17:53:35.272 |V| Client | Debugger worker MTA main thread:6 | ClientSocket-DebuggerWorkerToFrontend: closing socket because of lifetime
17:53:35.272 |V| Client | Debugger worker MTA main thread:6 | ClientSocket-DebuggerWorkerToFrontend: waiting for receiver thread
17:53:35.272 |V| Client | ClientSocket-DebuggerWorkerToFrontend-Receiver:12 | Exception in SocketWire.Receive: SocketException ClientSocket-DebuggerWorkerToFrontend Ein Blockierungsvorgang wurde durch einen Aufruf von WSACancelBlockingCall unterbrochen
17:53:35.272 |V| Client | ClientSocket-DebuggerWorkerToFrontend-Receiver:12 | ClientSocket-DebuggerWorkerToFrontend: Total traffic: sent 12327, received 4143
17:53:35.272 |V| Client | ClientSocket-DebuggerWorkerToFrontend-Receiver:12 | ClientSocket-DebuggerWorkerToFrontend: terminated.
17:53:35.272 |V| Client | Debugger worker MTA main thread:6 | ClientSocket-DebuggerWorkerToFrontend: termination finished
17:53:35.272 |I| DebuggerWorker | Debugger worker MTA main thread:6 | Terminating Debugger.Worker lifetime17:53:35.279 |V| UWPCoreClrDebuggerSession | Debugger worker MTA main thread:6 | GC.Collect after CorDebug.Terminate. STARTED
17:53:35.289 |V| UWPCoreClrDebuggerSession | Debugger worker MTA main thread:6 | GC.Collect after CorDebug.Terminate. ENDED
17:53:35.289 |I| BindingRedirectManager | Debugger worker MTA main thread:6 | BindingRedirectManager disposed
17:53:35.306 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Root container scope terminated
17:53:35.306 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Dispatcher has exited. Exiting worker main thread
17:53:35.306 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Dispose global Debugger component container. STARTED
17:53:35.306 |V| DebuggerWorker | Debugger worker MTA main thread:6 | Dispose global Debugger component container. ENDED
17:53:35.306 |I| DebuggerWorker | Debugger worker MTA main thread:6 | Force Exit
I can debug other MAUI UWP apps without problems, also I can open exactly this solution in Visual Studio and there the debugger works fine, but I would prefer to keep working in Rider.
Anybody an idea, what could be wrong here?
Please sign in to leave a comment.
Hello Spiderling92,
Thank you for reaching Rider Forum.
Could you please additionally collect full log bundle from Help > Collect Logs? Please upload them to our shared storage and provide me with the ID of the upload.
Thank you in advance!
Similar issue here, please find the logs:
Upload id: 2024_02_03_24aXo5iZ6c2J6yJWgk4uLm (file: rider-logs-20240203-1627533119237917795769147.zip)
Hello Slawek Pelka , Spiderling92 ,
I have created an issue on our YouTrack to investigate it alongside developers:
RIDER-105698 App detaches from the debugger
Please follow it to receive updates on the matter.
I am having the same issue and it's a show stopper for us. It is crucial to be able to debug Windows Maui apps - we even deploy a Windows version of our app to the Windows Store.
Log file added to RIDER-105698
2024-07-26 10:04:33,347 [ 105398] SEVERE - #c.j.r.d.DebuggerWorkerProcessHandlerBase - Exception in debugger process: Unable to start debug session. Fire terminating Couldn't collect pid and tid after 10000 ms
--- EXCEPTION #1/2 [TimeOutException]
Message = “Couldn't collect pid and tid after 10000 ms”
ExceptionPath = Root.InnerException
ClassName = Mono.Debugging.Evaluation.TimeOutException
Data.ThreadLocalDebugInfo = “
property `DebuggerWorkerToFrontend.DebuggerWorkerModel.activeSession.$.initialized` (9035644635072945435)
-> property `DebuggerWorkerToFrontend.DebuggerWorkerModel.activeSession.$.initialized` (9035644635072945435)
”
HResult = COR_E_EXCEPTION=80131500
Source = Mono.Debugging.Win32
StackTraceString = “
at Mono.Debugging.Win32.UwpActivationUtils.ActivateUwpUnderDebug(Lifetime lf, Int32 namedPipePostfix, String fullPackageName, String appUserModelId) in ActivateUwpUnderDebug.il:line IL_0069 mvid 3CDD
at JetBrains.Debugger.Worker.UWP.UwpStartDebugHandler.GetProcessInfo(UwpStartInfo startInfo) in GetProcessInfo.il:line IL_001B mvid 036B
at JetBrains.Debugger.Worker.UWP.UwpStartDebugHandler.<>c__DisplayClass4_0.<GetSessionStarter>b__0() in UwpStartDebugHandler.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.SessionStartup.LaunchableByExternalSystemSessionStarter.DoStartSession(IDebuggerSession session, IDebuggerSessionOptions options) in DoStartSession.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.SessionStartup.DebuggerSessionStarterBase.StartSession(IDebuggerSession session) in StartSession.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.RiderDebuggerSessionFrontend.Run(IDebuggerSessionStarter sessionStarter) in Run.il:line IL_0069 mvid A785
at JetBrains.Debugger.Worker.RiderDebuggerWorker.Init(IDebugSessionFrontend debugSessionFrontend, DotNetDebuggerSessionModel sessionModel, IDebuggerSessionStarter debuggerSessionStarter) in Init.il:line IL_0013 mvid A785
”
--- Outer ---
--- EXCEPTION #2/2 [LoggerException]
Message = “Unable to start debug session. Fire terminating Couldn't collect pid and tid after 10000 ms”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment) in LogException.il:line IL_002E mvid 9D72
at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message) in Error.il:line IL_001B mvid 9D72
at JetBrains.Debugger.Worker.RiderDebuggerWorker.Init(IDebugSessionFrontend debugSessionFrontend, DotNetDebuggerSessionModel sessionModel, IDebuggerSessionStarter debuggerSessionStarter) in Init.il:line IL_0013 mvid A785
at JetBrains.Debugger.Worker.RiderDebuggerWorker.<>c__DisplayClass18_0.<StartSession>b__0(Boolean initialized) in RiderDebuggerWorker.il:line IL_0003 mvid A785
at JetBrains.Collections.Viewable.SignalBase`1.Fire(T value) in Fire.il:line IL_0028 mvid A5E3
at JetBrains.Collections.Viewable.ViewableProperty`1.set_Value(T value) in set.il:line IL_004A mvid A5E3
at JetBrains.Rd.Impl.RdProperty`1.<>c__DisplayClass24_0.<OnWireReceived>b__0() in RdProperty.il:line IL_00C6 mvid D0E3
at JetBrains.Rd.Impl.MessageBroker.RdWireableDispatchHelper.<>c__DisplayClass12_0.<DoDispatch>b__0() in RdWireableDispatchHelper.il:line IL_008B mvid D0E3
at Mono.Debugging.Threading.QueuedTasks.ProcessDebuggerTask(QueuedDebuggerTask& item) in ProcessDebuggerTask.il:line IL_0041 mvid 60F8
at Mono.Debugging.Threading.QueuedTasks.Pump(Func`1 condition, TimeSpan timeout, QueuedDebuggerTaskType type) in Pump.il:line IL_0000 mvid 60F8 or Pump.il:line IL_0105 mvid 60F8
at Mono.Debugging.Threading.QueuedTasks.Pump(Func`1 condition) in Pump.il:line IL_0000 mvid 60F8 or Pump.il:line IL_0105 mvid 60F8
at Mono.Debugging.Threading.DebuggerDispatcher.Run() in Run.il:line IL_0012 mvid 60F8
at JetBrains.Debugger.Worker.DebuggerWorker.Run() in Run.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.DebuggerWorkerLauncher.<>c__DisplayClass2_0.<Launch>b__0() in DebuggerWorkerLauncher.il:line IL_0296 mvid 036B
”
java.lang.Throwable: Exception in debugger process: Unable to start debug session. Fire terminating Couldn't collect pid and tid after 10000 ms
--- EXCEPTION #1/2 [TimeOutException]
Message = “Couldn't collect pid and tid after 10000 ms”
ExceptionPath = Root.InnerException
ClassName = Mono.Debugging.Evaluation.TimeOutException
Data.ThreadLocalDebugInfo = “
property `DebuggerWorkerToFrontend.DebuggerWorkerModel.activeSession.$.initialized` (9035644635072945435)
-> property `DebuggerWorkerToFrontend.DebuggerWorkerModel.activeSession.$.initialized` (9035644635072945435)
”
HResult = COR_E_EXCEPTION=80131500
Source = Mono.Debugging.Win32
StackTraceString = “
at Mono.Debugging.Win32.UwpActivationUtils.ActivateUwpUnderDebug(Lifetime lf, Int32 namedPipePostfix, String fullPackageName, String appUserModelId) in ActivateUwpUnderDebug.il:line IL_0069 mvid 3CDD
at JetBrains.Debugger.Worker.UWP.UwpStartDebugHandler.GetProcessInfo(UwpStartInfo startInfo) in GetProcessInfo.il:line IL_001B mvid 036B
at JetBrains.Debugger.Worker.UWP.UwpStartDebugHandler.<>c__DisplayClass4_0.<GetSessionStarter>b__0() in UwpStartDebugHandler.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.SessionStartup.LaunchableByExternalSystemSessionStarter.DoStartSession(IDebuggerSession session, IDebuggerSessionOptions options) in DoStartSession.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.SessionStartup.DebuggerSessionStarterBase.StartSession(IDebuggerSession session) in StartSession.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.RiderDebuggerSessionFrontend.Run(IDebuggerSessionStarter sessionStarter) in Run.il:line IL_0069 mvid A785
at JetBrains.Debugger.Worker.RiderDebuggerWorker.Init(IDebugSessionFrontend debugSessionFrontend, DotNetDebuggerSessionModel sessionModel, IDebuggerSessionStarter debuggerSessionStarter) in Init.il:line IL_0013 mvid A785
”
--- Outer ---
--- EXCEPTION #2/2 [LoggerException]
Message = “Unable to start debug session. Fire terminating Couldn't collect pid and tid after 10000 ms”
ExceptionPath = Root
ClassName = JetBrains.Util.LoggerException
InnerException = “Exception #1 at Root.InnerException”
HResult = COR_E_APPLICATION=80131600
StackTraceString = “
at JetBrains.Util.ILoggerEx.LogException(ILogger this, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment) in LogException.il:line IL_002E mvid 9D72
at JetBrains.Util.ILoggerEx.Error(ILogger this, Exception ex, String message) in Error.il:line IL_001B mvid 9D72
at JetBrains.Debugger.Worker.RiderDebuggerWorker.Init(IDebugSessionFrontend debugSessionFrontend, DotNetDebuggerSessionModel sessionModel, IDebuggerSessionStarter debuggerSessionStarter) in Init.il:line IL_0013 mvid A785
at JetBrains.Debugger.Worker.RiderDebuggerWorker.<>c__DisplayClass18_0.<StartSession>b__0(Boolean initialized) in RiderDebuggerWorker.il:line IL_0003 mvid A785
at JetBrains.Collections.Viewable.SignalBase`1.Fire(T value) in Fire.il:line IL_0028 mvid A5E3
at JetBrains.Collections.Viewable.ViewableProperty`1.set_Value(T value) in set.il:line IL_004A mvid A5E3
at JetBrains.Rd.Impl.RdProperty`1.<>c__DisplayClass24_0.<OnWireReceived>b__0() in RdProperty.il:line IL_00C6 mvid D0E3
at JetBrains.Rd.Impl.MessageBroker.RdWireableDispatchHelper.<>c__DisplayClass12_0.<DoDispatch>b__0() in RdWireableDispatchHelper.il:line IL_008B mvid D0E3
at Mono.Debugging.Threading.QueuedTasks.ProcessDebuggerTask(QueuedDebuggerTask& item) in ProcessDebuggerTask.il:line IL_0041 mvid 60F8
at Mono.Debugging.Threading.QueuedTasks.Pump(Func`1 condition, TimeSpan timeout, QueuedDebuggerTaskType type) in Pump.il:line IL_0000 mvid 60F8 or Pump.il:line IL_0105 mvid 60F8
at Mono.Debugging.Threading.QueuedTasks.Pump(Func`1 condition) in Pump.il:line IL_0000 mvid 60F8 or Pump.il:line IL_0105 mvid 60F8
at Mono.Debugging.Threading.DebuggerDispatcher.Run() in Run.il:line IL_0012 mvid 60F8
at JetBrains.Debugger.Worker.DebuggerWorker.Run() in Run.il:line IL_0000 mvid 036B
at JetBrains.Debugger.Worker.DebuggerWorkerLauncher.<>c__DisplayClass2_0.<Launch>b__0() in DebuggerWorkerLauncher.il:line IL_0296 mvid 036B
”
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:376)
at com.jetbrains.rider.debugger.DebuggerWorkerProcessHandlerBase$1.invoke(DebuggerWorkerProcessHandlerBase.kt:22)
at com.jetbrains.rider.debugger.DebuggerWorkerProcessHandlerBase$1.invoke(DebuggerWorkerProcessHandlerBase.kt:21)
at com.jetbrains.rd.util.reactive.Signal.fire(Signal.kt:32)
at com.jetbrains.rd.framework.impl.RdSignal$onWireReceived$2.invoke(RdSignal.kt:33)
at com.jetbrains.rd.framework.impl.RdSignal$onWireReceived$2.invoke(RdSignal.kt:31)
at com.jetbrains.rd.framework.MessageBroker$RdWireableDispatchHelper$doDispatch$2.invoke(MessageBroker.kt:122)
at com.jetbrains.rd.framework.MessageBroker$RdWireableDispatchHelper$doDispatch$2.invoke(MessageBroker.kt:115)
at com.jetbrains.rdclient.protocol.RdDispatcher.flushAll(RdDispatcher.kt:112)
at com.jetbrains.rdclient.protocol.RdDispatcher.flushAllRunnable$lambda$0(RdDispatcher.kt:33)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:22)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:204)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830)
at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:419)
at com.intellij.openapi.application.impl.RwLockHolder.runWithEnabledImplicitRead(RwLockHolder.kt:138)
at com.intellij.openapi.application.impl.RwLockHolder.runWithImplicitRead(RwLockHolder.kt:129)
at com.intellij.openapi.application.impl.ApplicationImpl.runWithImplicitRead(ApplicationImpl.java:1152)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:81)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:123)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:43)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:792)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:739)
at java.desktop/java.awt.EventQueue$3.run(EventQueue.java:733)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:761)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.kt:699)
at com.intellij.ide.IdeEventQueue._dispatchEvent$lambda$12(IdeEventQueue.kt:593)
at com.intellij.openapi.application.impl.RwLockHolder.runWithoutImplicitRead(RwLockHolder.kt:105)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.kt:593)
at com.intellij.ide.IdeEventQueue.access$_dispatchEvent(IdeEventQueue.kt:77)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:362)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1$1.compute(IdeEventQueue.kt:361)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:843)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:361)
at com.intellij.ide.IdeEventQueue$dispatchEvent$processEventRunnable$1$1.invoke(IdeEventQueue.kt:356)
at com.intellij.ide.IdeEventQueueKt.performActivity$lambda$1(IdeEventQueue.kt:1022)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:106)
at com.intellij.ide.IdeEventQueueKt.performActivity(IdeEventQueue.kt:1022)
at com.intellij.ide.IdeEventQueue.dispatchEvent$lambda$7(IdeEventQueue.kt:356)
at com.intellij.openapi.application.impl.RwLockHolder.runIntendedWriteActionOnCurrentThread(RwLockHolder.kt:209)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:830)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.kt:398)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
Hi Chris Palmer,
I've filed a separate issue for this case: https://youtrack.jetbrains.com/issue/RIDER-115590/Cannot-start-debug-session-for-MAUI-app
Please collect and attach a full log bundle after reproducing this issue: Help | Collect Logs
I'm having similar issues with the Rider debugger not starting. The UI tells me that it the Rosyln Worker exited unexpectedly.
JetBrains Rider 2024.3.6
Build #RD-243.25659.34, built on February 26, 2025
Licensed to Edwin Kennedy
Subscription is active until September 22, 2025.
Runtime version: 21.0.6+8-b631.39 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 11.0
.NET Core v8.0.11 x64 (Server GC)
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
ide.balloon.shadow.size=0
ide.new.editor.tabs.vertical.borders=true
ide.animate.toolwindows=true
ide.experimental.ui=true
ide.editor.tab.selection.animation=true
llm.show.ai.promotion.window.on.start=false
Non-Bundled Plugins:
aws.toolkit.core (3.58-243)
fr.socolin.application-insights-debug-log-viewer (2024.3.1)
com.intellij.ml.llm (243.23654.270.15)
com.chrisrm.idea.MaterialThemeUI (9.7.0)
com.github.copilot (1.5.37-242)
com.mallowigi (101.2.0)
mobi.hsz.idea.gitignore (4.5.6)
com.intellij.resharper.azure (4.3.9)
aws.toolkit (3.58-243)
Hi Ed Kennedy!
Thank you for your report. If you're sure that this is the same issue, please add your details and logs to the mentioned issue: RIDER-115590 Cannot start debug session for MAUI app. It would also be helpful if you add a sample project, where the issue is reproducible.
If you don't see the same error, please reproduce the problem and create a new issue via Help | Report a bug with logs and details automatically collected and attached.
Thanks!