JIT Debugger Launcher Window not showing up
I'm trying to debug a windows service and have Debugger.Launch() in the code. I have Rider JIT Debugger registered as the system debugger following steps in other articles. Specifically using : File > Settings > Debugger
My issue is that NOTHING happens. No window, no attach prompts, nothing. Using powershell i can see that some JIT debugger stuff seems to be trying to run but nothing is showing up.
I can't seem to figure it out.
Please sign in to leave a comment.
Hello,
Could you please clarify what action you run to start your program? What is your Rider version?
Can you reproduce this behavior on a simple console application?
Please create it and insert the code above, then run the app by pressing the "Run" button (not the "bug" button) and let me know about the results.
kind regards,
Sofia.
I just tried this. The app runs - console shows tons of dots..... NO deubbugger launched
Also I'm using latest version 2020.1.4
I do see this exe running in the background: RiderJITDebuggerLauncher64.exe
But it never pops up / prompts me.
Please try the following:
1. On the settings page "File | Settings | Build, Execution, Deployment | Debugger," press "Restore Previous default debugger" and then save settings.
2. Open this settings page again and set Rider as a Default Debugger, save settings.
3. Check if it helps to solve the issue.
4. If it persists, go to "C:\Users\heath\AppData\Local\JetBrains\Rider\JITDebugger\" and let me know about what is inside this folder.
I've unset and reset the global debugger several times both as my user as as "Run as Admin" and the behavior never changes.
I have restarted between each step as well. No JITDebugger folder at all.
Thank you for the information.I've filed an issue and assigned it to a dedicated developer: https://youtrack.jetbrains.com/issue/RIDER-48414.
Please enable "Debugger" tracing in the menu "Help "| Diagnostic Tools | Chose trace scenarios", then reproduce the issue, collect all logs via "Help | Collect Logs", attach them to the issue on youtrack, and disable tracing.
Als, please try Rider 2020.2 EAP https://www.jetbrains.com/rider/nextversion/ and check if it has this issue.
Thank you in advance.
I am experiencing the same issue with Rider 2020.2.
1. "Set Rider as a Default Debugger" (set and unset a couple of times)
2. Run a simple console app with Debugger.Launch().
3. No dialog prompt and nothing running in processes.
Stephen Robinson, please attach the following information to the issue on the tracker:
• List of directories under %LOCALAPPDATA%/JetBrains/Rider and the contents of JITDebugger directory (if present)
• Logs, collected after you encounter this issue with enabled "Debugger" tracing scenario. You can enable "Debugger" tracing using Help -> Diagnostic Tools -> Chose trace scenarios, as described earlier.
I'm getting the trace now, but noticed how many the JIT Debuggers are launching but apparently not interacting with the desktop nor prompting me!
Yes. I ran it manually and it popped up the dialog asking me to choose a debugger. I choose Rider from the list (only option) and then I got a UAC prompt - after accepting - rider opened.
Thanks for the information Heath.
ha ha, nothing happens? same issue here with rider 2020.3.4. i have successfully launched debugger manually by clicking exe, but i am constantly failing with debug my app by Debugger.Launch() in code
ps. and i have completely stucked with the unuseful rider debugger (clicking on "restore" does nothing)
Hi there,
Is this issue relevant in Rider 2021.2? I'm asking because this version has several improvements for JIT debugger. Could you please help and let us know about the results?
K.R.
Sofia
Hi Sofia, no, it is not relevant, because in 2021.2 it is working fine