Rider running error when debug

Rider showed running error when debug, and cannot debug. But debug was working fine usinng visual studio 2017. And Run was ok on Rider.

Error message: class com.intellij.util.ui.components.BorderLayoutPanel cannot be cast to class com.intellij.ui.OnePixelSplitter (com.intellij.util.ui.components.BorderLayoutPanel and com.intellij.ui.OnePixelSplitter are in unnamed module of loader com.intellij.util.lang.PathClassLoader @6debcae2 Rider version: 2022.2.4.win & 2022.3.2.win

Please tell me how to fix it. Much appreciate .

0
4 comments

Hi Jasonnotcai

It seems like you are facing an old rare issue. Could you please try the following:

  • Use double Shift (Search everywhere) -> Actions -> Registry
  • Open Registry and uncheck debugger.new.tool.window.layout there 
  • Then turn Immediate window on via this action or via action on the debugger toolbar:
  • After that, roll back "debugger.new.tool.window.layout" to checked. 

 

I hope this helps! Please let me know how it works for you. 

0

Hi Alexandra!

Thanks for your answering. These steps worked, and now I can use the Debug. 👍🏻

0

What release will this be fixed in ?

0

Hi Nielsson Consulting

This is a very rare issue. If you meet it, you need to make the steps mentioned above just once. Do you meet this issue more than once or workaround does not help? Please let us know. We'll ask some logs for further investigation. 

Thanks! 

0

Please sign in to leave a comment.