Debugger stuck at "collecting data"

Answered

Hi everyone . I was developing a java program when suddenly it stopped debugging one of my modules(I have 2 modules and one of them is debugging without problems, but the second one stopping at the same place) . In the variable section (and everywhere) it just says "collecting data" , I waited for about 5 minutes cause i thought maybe something is wrong with my laptop, but I found out that it isn't the case. I tried the "invalid caches/restart" but that didn't help . I even updated the intelliJ but again , it wasnt the case . Any solutions ?

0
7 comments

I solved the problem .Friendly advice,  If you ever put something under a watch , make sure its not a large one, cause it literally kills you memory , and you are getting stuck at "Collecting data" . But Intellij should fix this , cause i put an outputStream under a watch , which was just getting a byte array (smaller than 4 kb i think), So if you ever get this problem , first of all look at the objects under the watch )) . 

1

Those of who are still stuck, I found a solution in this stack overflow post - https://stackoverflow.com/a/51833034/2709971

 

1

Try the suggestions from https://intellij-support.jetbrains.com/hc/en-us/articles/206544799.

If the issue persists, please file a bug at https://youtrack.jetbrains.com/newIssue?project=IDEA with the sample project to reproduce attached.

0

Same happening here, IntelliJ IDEA 2022.1 (Ultimate Edition) macOS. None of the solutions here have worked.

0

Ariel Mirra Please provide the debugger logs per https://intellij-support.jetbrains.com/hc/en-us/articles/207241125. Also provide .idea/workspace.xml from the project and IDE logs (Help | Collect Logs and Diagnostic Data). You can upload the files at https://uploads.jetbrains.com and provide the ID here.

0

Hi Serge Baranov

I am using PyCharm and I also face the same problem. I have uploaded the relevant files here - Upload id: 2022_05_22_8g692EzmgGUoSY9e (files: pycharm-logs-20220522-2305416556308933675804696.zip, console output.txt)

Kindly look into this and advice me on the next steps.

I am using PyCharm 2021.3.2 (Professional Edition) - Build #PY-213.6777.50, built on January 27, 2022 

0

Ensure your java compiler version matches your build version. I had Java 11 biuld, Java 8 compiler and was stuck at collecting data during debugging.

0

Please sign in to leave a comment.