Slow "watches" while debuging

If I am adding in watches an array with 1000 integers (and expand it) while in a breakpoint it simply take too long and will crash/timeout the debuging session while "collecting data".
I am enjoying the clion so far but this is a bit of a big problem for me.
Same code, same debuging condition in code:blocks is instant.

=====================================
#include <iostream>
using namespace std;
int v[1000];
int main() {
int i;

    for(i=0;i<1000;i++) v[i]=i;
    cout < "breakpoint here\n";
    return 0;
}
==========================

3 comments
Comment actions Permalink

This is in linux while using clion 1.0.3 with the "bundled" java 1.8.0.40_b26
and bundled gdb
.....clion/clion-1.0.3/bin/gdb/bin/gdb -interpreter=mi

0
Comment actions Permalink

Hello!

Thanks for reporting, we have an issue in our tracker already:
https://youtrack.jetbrains.com/issue/CPP-2280
We are planning to improve it, feel free to comment or upvote.

0
Comment actions Permalink

Thank you.
Unfortunately is not just a performance problem for me. It realy makes imposble for me to debug programs that have big arrays. And 1000 elements arrays can;t even be considered big.

0

Please sign in to leave a comment.