最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

macos - Can't use debugger in Rider on mac - Stack Overflow

programmeradmin5浏览0评论

I can run tests in Rider on Mac, and they work correctly. But I can't debug.

For all of my projects, except one, running debug shows "project building", and then nothing happens. In one of the projects I get the following exceptions:

Test has not run

Last runner error: Test runner agent exited unexpectedly Process /usr/local/share/dotnet/x64/dotnet:81667 exited with code '0'.

--- EXCEPTION #1/3 [UnknownExitCodeException]
Message = "Process /usr/local/share/dotnet/x64/dotnet:81667 exited with code '0'."
ExceptionPath = Root.InnerException.InnerException
ClassName = JetBrains.ReSharper.UnitTestFramework.Common.Exceptions.UnknownExitCodeException
HResult = COR_E_EXCEPTION=80131500

--- Outer ---

--- EXCEPTION #2/3 [ProcessExitedUnexpectedlyException]
Message = "Test runner agent exited unexpectedly"
InnerException = "Exception #1 at Root.InnerException.InnerException"
StackTraceString = "
  at JetBrains.ReSharper.UnitTestFramework.Execution.TestRunner.Activation.TestRunnerAgent.AnalyseExitCode(IPreparedProcessWithCachedOutput process) in AnalyseExitCode.il:line IL_00BD mvid 964F
     at JetBrains.ReSharper.UnitTestFramework.Execution.TestRunner.Activation.TemporaryTestRunnerAgentInvoker.<>c__DisplayClass2_0.<StartTestRunnerAgent>b__2() in TemporaryTestRunnerAgentInvoker.il:line IL_0000 mvid 964F
...
    at JetBrains.ReSharper.UnitTestFramework.Execution.Launch.UnitTestRun.Start(CancellationToken onCancel, CancellationToken onAbort) in Start.il:line IL_0182 mvid 964F
"
ExceptionPath = Root.InnerException
ClassName = JetBrains.ReSharper.UnitTestFramework.Common.Exceptions.ProcessExitedUnexpectedlyException
HResult = COR_E_EXCEPTION=80131500
Source = JetBrains.ReSharper.UnitTestFramework

--- Outer ---

--- EXCEPTION #3/3 [LoggerException]
Message = "Test runner agent exited unexpectedly"
InnerException = "Exception #2 at Root.InnerException"
StackTraceString = "
  at JetBrains.Util.ILoggerEx.LogException(ILogger logger, LoggingLevel level, Exception exception, ExceptionOrigin exceptionOrigin, String comment) in LogException.il:line IL_002E mvid 494D
     at JetBrains.Util.ILoggerEx.Error(ILogger logger, Exception exception, ExceptionOrigin origin, String comment) in Error.il:line IL_0000 mvid 494D
...

I've tried reinstalling Rider following the instructions here, I've reinstalled the SDK, and the debugger still doesn't work.

Changing path from /usr/local/share/dotnet/x64/dotnet to /usr/local/share/dotnet/dotnet also doesn't work for me.

I added screenshots of my configuration on Rider below. Please, help me to fix debugger.

发布评论

评论列表(0)

  1. 暂无评论