My IDEA get hangs when debug with database operation, please help

Answered

My IDEA version is  2019.1.1.

When I debug the code to the  code line 88  which is a database operation like query or something.

Then I click the step over  button (1 on the figure) ,It will takes  serveral minutes to finish and finally will throws a exception.

But if I click the resume program button (2 on the figure),It acts normal and go to next breakpoint quickly.I don't know if IDEA cause the problem or the code I write did.

Please help me solve this problem,It has happened since I download this version of  IDEA.

 

 

This is the exception throwed when I click the step over button

 

 

0
3 comments
Avatar
Permanently deleted user

Thanks for the reply, those solutions did't work for me , it still get hangs when breakpoint on the database operation .

Is there any othe way to try?

0

Have you tried disabling all mentioned options? Is step over slow only with this line? This could be caused by debugger implementation, see the thread in https://youtrack.jetbrains.com/issue/IDEA-27221 issue. 

Check also loopback interface configuration on your machine: that there is just one and only mapping to localhost in hosts file: 

127.0.0.1 localhost

If you have Mac, check https://youtrack.jetbrains.com/issue/IDEA-157303

Also if you use 3rd plugins (like JRebel) try with them disabled.

0

Please sign in to leave a comment.