Raghvendra Rao
Raghvendra Rao

Reputation: 156

Intellij debugger getting stuck at "collecting data" while testing the application with Wiremock mocks

I am developing acceptance tests for an application and mocking all external API calls in WireMock. It is a java (Spring boot) application. In intellIj debugger it gets stuck in break points saying "Collecting data" when I try to see the content of a variable or object. If I try to resume the program it shows waiting until the last debugger command completes and gets stuck. during this the IntellIj keeps using it's maximum memory.

Note:

  1. This question is not similar to this. As over there it is a stand alone application and here it is a web application having it's external API calls being mocked by WireMock, and none of there mentioned answered helped my case.

  2. I have installed a few plugins recently and thought they might be the problem so have removed them.

  3. I console I am able to see the API calls being made properly as I could see there response coming.

  4. I am using IntellIj ultimate edition 2020.2 right now on a Windows 10 system without Admin access.

I have been stuck with this for a while and any help would be useful.

Edit: It got this resolved by downgrading my IntelliJ IDEA.

Upvotes: 1

Views: 2677

Answers (1)

Raghvendra Rao
Raghvendra Rao

Reputation: 156

I finally got it resolved by downgrading by IntelliJ IDEA to 2020.1.2 from 2020.2

Upvotes: 1

Related Questions