This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Create a vector containing another vectors as elements 2. Toggle breakpoints before and after the initialization of the vector 3. Start debugging 4. Stop on the first breakpoint 5. Expand the variable and some of in the Variables tab 6. Press Step Over several times and/or Continue Actual result: Expanded children are not updated sometimes.
Thanks for fixing Bug 213065. But i think i had another related problem to report which still appeared in netbeans 7.2 RC. The low performance of showing lots of elements when debugging. After fetching 10000+ or so elements and showing them in the watch window, then the performance is very low. For example, when i scrolled or dragged mouse down to show more elements(10000+elements already showned) netbeans will pause and become unresponsive for a few seconds even half a minutes(sometimes it freezed and i had to kill its process in task manager). it is so annoying. As a reference, I debugged the same code in vs2010(create a CLR c++ project) and the performance is ok. Similarly, the performace of debugging directly in gdb CLI is also great.
fixed, change set: http://hg.netbeans.org/cnd-main/rev/ae98115cbb97 Checked on sample: #include <stdio.h> #include <iso/stdlib_iso.h> #include <cstdlib> #include <vector> #define SIZE 100000 using namespace std; int main(int argc, char** argv) { vector<int> in; in.resize(SIZE); for(int i = 0; i < SIZE/1000; i++) { for(int j = 0; j < 1000; j++) { in[i*1000+j] = rand(); in[j] = rand(); } printf("loop %d\n", i); // breakpoint here } return 0; }
Integrated into 'main-silver', will be available in build *201507160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/ae98115cbb97 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #213762 NetBeans does not update variable's children if the variable has more than 100 children