Debugger disable collecting data

It seems that when I have a large number of variables in scope (around 200 ints), the debugger attmpts to read all values even if they didnt change.
It causes the debug step to be slow. I can understand this but is there a way to disable collecting data? I suspect if I can do this, I can step over the code much faster.
Right now, stepping over takes about 12seconds. My machine is a respectable setup with an i7 core.

4 comments
Comment actions Permalink

It seems this is a recurring problem, if it cannot be fixed soon, it is a fair workaround to disable collecting data and just rely on adding variables to watch.
Pls advise if this is possible

0
Comment actions Permalink

This is a problem, at least to me too, and it goes for months now. I reported bugs, contacted support, everything is the same: no exact deadline to fix this *critical* issue. So, though CLion is a great editor, for debugging purposes I would recommend to use CodeLite, specifically Quick Debug mode. It is not as convinient as having real (and stable) C++ IDE (I did not test it though in MacOS and Linux, maybe there it works), but in my case for Windows/MinGW64 I found that CLion as C++ Editor (with great CMake support) and CodeLite as debugger is a very good combination. Also I tested CLion 1.2 and the issue is not addressed there (It is indeed strage that JetBrains claims to have debugger in CLion (Windows/MinGW) though). I also suggested workaround as you, but it got (in essence) ignored.

0
Comment actions Permalink

Im using CLion under Ubuntu, so i guess this issue is across all platforms. I agree the editor is very good but I find that I will have to switch to a different debugger as you say.

0
Comment actions Permalink

Recently we've published CLion 2016.2 EAP build, which includes major changes in GDB and LLDB drivers and addresses such problems as:

1. Command timeouts.

2. Stepping problems.

3. Debugger performance issues.

Please, find more details in our blog post by the link: http://blog.jetbrains.com/clion/2016/06/clion-2016-2-eap-debugger/.

We'd like to ask you to give this EAP build a try and share if the problems you've experience with CLion's debugger are fixed. We'll appreciate your feedback greatly.

Since this is an Early Access Program build, it doesn't require an active license, so you can try this build for free.

0

Please sign in to leave a comment.