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.
Summary: | NetBeans does not update variable's children if the variable has more than 100 children | ||
---|---|---|---|
Product: | cnd | Reporter: | henk89 |
Component: | Debugger | Assignee: | Alexander Simon <alexvsimon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | 213065 | ||
Bug Blocks: |
Description
henk89
2012-06-07 17:21:12 UTC
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 |