Rider extremely slow in debugging V.2022.3
Version data below.
In the last few days my Rider has become unbearably slow to use. I can get to the point the debugger is started in about 16 seconds. To get to the Worker process started and initialized takes another 20+ seconds. As I am running in isolated, I need to restart my debugger for every change. This is taking way too long. I have updated my rider to the latest version and the problem is still happening. A rough log of time and events is below.
---------------------------------
using Rider: TLDR about 30 seconds to WorkerProcess started + 12 seconds to hitting debug
Core Tools Version: 4.0.4915 Commit hash: N/A (64-bit)
Function Runtime Version: 4.14.0.19631
[2022-12-14T17:36:30.886Z] Found C:\Projects\foo.csproj. Using for user secrets file configuration.
[2022-12-14T17:36:32.618Z] Initializing Warmup Extension.
[2022-12-14T17:36:32.704Z] Initializing Host. OperationId: '2bf9d59e-12b6-439a-8
320-313d83d0e4dc'.
[2022-12-14T17:36:32.718Z] Host initialization: ConsecutiveErrors=0, StartupCoun
t=1, OperationId=2bf9d59e-12b6-439a-8320-313d83d0e4dc
[2022-12-14T17:36:32.874Z] ApplicationInsightsLoggerOptions
...stuff
[2022-12-14T17:36:33.252Z] Job host started <About 3 seconds to find the functions>
Functions listed:
[2022-12-14T17:36:33.274Z] Azure Functions .NET Worker (PID: 2184) initialized in debug mode. Waiting for debugger to attach...
...functions found
For detailed output, run func with --verbose flag.
[2022-12-14T17:37:00.280Z] Worker process started and initialized. <27 seconds to start the worker process>
initiated postman request
[2022-12-14T17:39:39.203Z] Executing 'Functions.foo' (Reason='This function was programmatically called via the host APIs.', Id=314bb4da-6ac8-4431-
a985-6545358ffe0a)
[2022-12-14T17:39:52.819Z] hello from function <12 seconds to hit the endpoint>
--------------------------------------------------------------
Visual Studio : TLDR.. 4 seconds to process started + 3 seconds to hit debug.
Azure Functions Core Tools
Core Tools Version: 4.0.4915 Commit hash: N/A (64-bit)
Function Runtime Version: 4.14.0.19631
[2022-12-14T17:47:04.081Z] Found C:\Projects\foo.csproj. Using for user secrets file configuration.
[2022-12-14T17:47:05.206Z] Initializing Warmup Extension.
[2022-12-14T17:47:05.266Z] Initializing Host. OperationId: '42258427-be49-4aad-a0a8-edb16a25f824'.
[2022-12-14T17:47:05.276Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=42258427-be49-4aad-a0a8-edb16a25f824
[2022-12-14T17:47:05.386Z] ApplicationInsightsLoggerOptions
...stuff
[2022-12-14T17:47:05.654Z] Job host started
Functions:
For detailed output, run func with --verbose flag.
[2022-12-14T17:47:05.695Z] Azure Functions .NET Worker (PID: 14352) initialized in debug mode. Waiting for debugger to attach...
[2022-12-14T17:47:09.935Z] Worker process started and initialized.
Postman request....
[2022-12-14T17:51:28.068Z] Executing 'Functions.foo' (Reason='This function was programmatically called via the host APIs.', Id=768376d4-b53e-4985-a157-590654004d81)
[2022-12-14T17:51:30.211Z] hello
There is something monumentally wrong with my rider that it is taking almost 45 seconds just to hit a debug point when VS is doing it in 7. Please recommend fixes.
My version info is below:
JetBrains Rider 2022.3
Build #RD-223.7571.232, built on December 5, 2022
Runtime version: 17.0.5+1-b653.14 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 11 10.0
.NET 7.0.0 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 1500M
Cores: 8
Registry:
ide.lookup.shrink=true
database.show.search.tab=false
vcs.empty.toolwindow.show=false
platform.projectModel.workspace.model.file.index=false
rdclient.asyncActions=false
indexing.enable.entity.provider.based.indexing=false
ide.new.project.model.index.case.sensitivity=true
ide.workspace.model.rbs.as.tree=false
Non-Bundled Plugins:
me.seclerp.rider.plugins.efcore (223.1.0)
PlantUML integration (5.20)
fr.socolin.application-insights-debug-log-viewer (1.7.2)
Abc.MoqComplete.Rider (2022.3.0.2)
com.intellij.resharper.StructuredLogging (2022.3.0.276-eap07)
com.intellij.plugin.adernov.powershell (2.0.10)
com.intellij.resharper.azure (3.50.0.1519-2022.3)
Please sign in to leave a comment.
Hi mac mcdell!
Sorry to hear that you've run into performance problems. Please collect the following information:
Help | Diagnostic tools | Choose Trace Scenariosand enable Trace scenario for Debugger;Help | Collect logs, disable Trace scenarios;Upload all the files to our server and share the ID for further investigation.
Thank you in advance and have a great day!
Alexandra Guk
id is below. didn't do a frontend as I don't have a frontentd
2022_12_16_q7a4Mg2bKn4fM7MtJudkFp
Any update to this issue? It affect all of my projects regardless of whether I clear caches etc. It is so slow...
Hi!
Thank you for the logs. I've created an issue for this: RIDER-86871; feel free to follow it. The proper developer will take it a look soon.
Any update on this issue? Almost two years later and the Debug Editor config is vastly slower Rider compared to VS 2022.
Hi MASEK, Will! The initial problem was fixed in Rider version 2023.2. If you have the same issue in the latest 2024.1.2 version, please create a separate issue with new logs via Help | Report a bug.
Thanks!