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 .

2 comments
Comment actions Permalink

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
Comment actions Permalink

Hi Alexandra!

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

0

Please sign in to leave a comment.