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.

Bug 181142

Summary: gdb hangs if some watch is added
Product: third-party Reporter: Alexander Pepin <apepin>
Component: DBX-GuiAssignee: ivan <ivan>
Status: NEW ---    
Severity: normal CC: common_debugger
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexander Pepin 2010-02-24 07:47:21 UTC
Steps to reproduce:
- run IDE with debug.engine=on option
- create Quote sample
- set build tools to GNU and debugger to gdb (or "As Tool Collec")
- set line BP in line 123
- start debugging
- enter any name e.g. "aaaa"
- do step into getDiscountFor function
- create a new watch for "(*it).GetName()"
- do step over
Result: Debugger cursor does not move, debugging can not be finished. IDE needs restarting.

Debugger console shows:
...
unrecognized line: 14-var-create - * (*it).GetName()
~"/build/buildd/gdb-6.8/gdb/dwarf2loc.c:152: internal-error: dwarf_expr_frame_base: Assertion `framefunc != NULL' failed.\n"
~"A problem internal to GDB has been detected,\n"
~"further debugging may prove unreliable.\n"
~"Quit this debugging session? (y or n) "
....
Comment 1 ivan 2010-06-03 21:40:29 UTC
Not a P2 for solstudio aten.