Javascript debugger crashes PhpStorm with "Unknown Error" (Not Responding)

PhpStorm 2024.2

Build #PS-242.20224.361, built on August 10, 2024

I can debug normally for a while then a new tab will open, something will try to download, but im not sure what, then the infinite beachball of slowness appears and some time later phpstom becomes (not responding) and needs to be killed from OPTION+COMMAND+ESC.

I left it running for hours when I went out today and when I came back I had an error, system was still not responsive:

The server is a local server running apache on debian, inside UTM.

0
Hello Michael, 
Could you please share the IDE logs from Help | Collect Logs and Diagnostic Data after reproducing the issue?
0

Big warning reads: “Included logs and settings may contain sensitive data.”.  How do you want me to get this to you?

0

It was going fine for most of the morning then I pushed the (pause) button expecting it to skip break points for a while while I got re-setup again and instead of pausing the debugger it tried to download jquery and got stuck.

 Its still stuck now, im not sure I want to wait half an hour for it to fail naturally this time, I'll probably kill the process again if its not done by the time i finish writing this.

 

here is the activity monitor

Its using quite a bit of memory:

 

0

I've uploaded the logs to here:
https://uploads.jetbrains.com/

 

Response was:

Upload id: 2024_08_23_Uys4pPLzjVfedKQjQH2G29 (file: phpstorm-logs-20240823-1445159167508878976481731.zip)

0
Thank you for the update. Could you please try disabling all downloaded plugins as we described here: https://www.jetbrains.com/help/webstorm/managing-plugins.html#disable-plugin? Does it help to get rid of the issue?
0

 Yes, disabling all downloaded plugins does seem to make the issue go away.

I tried turning them on one at a time and it looks like the problem returns when IdeaVIM is turned back on. 

0

Given that I know its IdeaVim that's causing the issue, but I still want to use VIM is there any workaround that doesn't involve needing to turn it off to debug stuff?

0
Thanks for the logs.

I can confirm this is a bug on the IdeaVIM side.
I have created a bug report here: https://youtrack.jetbrains.com/issue/VIM-3617/ (IDE freezes during Javascript debugging (recursively calling in ModeWidgetListener.getFocusedEditorForProject causing StackOverflowError and freeze)

Please vote for it for updates.
0

Thanks for isolating the specific issue and opening a tracker Lejia.

 

0

请先登录再写评论。