question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inspecting an object while debugging results in a very long "Collecting data..."

See original GitHub issue

Hello,

Rider 2018.2 did indeed fix a previous issue I reported regarding variable inspection(https://github.com/JetBrains/resharper-unity/issues/353), but often times now when inspecting an object Rider will stall trying to evaluate the watch with just a “Collecting data…” message. Googling reveals some reports of this for other JetBrains products, but this is the first time I’ve encountered it in Rider (maybe issue 353 linked above prevented me from seeing it). Unity and Rider are both unresponsive (can’t step or resume) until I stop the debugger.

I checked my DebuggerWorker log and noticed this line: 09:35:03.261 |V| AsyncOperationManager | Debugger worker MTA main thread:3 | Invoke MyClass+MyInnerClass.get_IEnumerableofObjects timed out after 1000 ms. Cancelling. 09:35:03.264 |T| AsyncOperationManager | Debugger worker MTA main thread:3 | Waiting for cancel of invoke MyClass+MyInnerClass.get_IEnumerableofObjects

I increased the timeout to 10000ms and it still fails to evaluate my “IEnumerableofObjects”. I disabled property evaluation in the debugging settings and now the evaluation works as I would expect. Calling refresh manually on the property “IEnumerableofObjects” results in a very long loading bar popup for “Loading Value”. Canceling this results in the same unresponsive behavior. I changed get for my IEnumerableofObjects property to just return a hardcoded List<Object> and now the evaluation works. This property calls into further properties which I guess could be causing the issue.

Version info: Rider 2018.2.3, Build #RD-182.4231.496 Unity 5.6.3p3

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
van800commented, Nov 13, 2018

Thanks for the info

0reactions
citizenmattcommented, Mar 25, 2020

Please can you log an issue here: https://youtrack.jetbrains.com/issues/RIDER? That way we can route the request to the correct people - there’s no-one in this repo who can fix core debugging functionality.

Read more comments on GitHub >

github_iconTop Results From Across the Web

IntelliJ debugger gets stuck - java
Basically it keeps saying "Collecting data" in the local variable watch. enter image description here. So instead of going step-by-step I've ...
Read more >
How to deal with "collecting data..." in debugger?
I have a function with a large array computation (about 100k objects). After its computation it's impossible to continue debugging due to...
Read more >
Inspect variable values and objects - JetBrains Rider
Another way to distinguish between objects in the debugger views is to track objects by ID. Modify variables and objects. You can edit ......
Read more >
Tips and tricks in the debugger - Visual Studio (Windows)
Learn productivity tips and tricks for the debugger in Visual Studio ... If you frequently hover over data tips while debugging, ...
Read more >
Inspecting Data in the debugger
Inspect variables and evaluate expressions while script is broken in the debugger.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found