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 172044 - dbx: Function breakpoint works only once
Summary: dbx: Function breakpoint works only once
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: DBX-Gui (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Egor Ushakov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-11 14:34 UTC by Alexander Pepin
Modified: 2009-10-05 15:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2009-09-11 14:34:49 UTC
Steps to reproduce:
- create Quote sample project
- set SS tool collection
- create Function breakpoint for "fetchCustomersList"
- set Line BP in line 120
- start debugger, it stops in "fetchCustomersList" function
- finish debugging
- start debugger once again
Result: It stops in line 120. Dbx console says:

(dbx) cd /home/ap153252/NetBeansProjects/Quote_3/
(dbx) runargs 
(dbx) intercept -set -unhandled, -unexpected
(dbx) stop at "/home/ap153252/NetBeansProjects/Quote_3/quote.cc":120
(dbx) stop in
`quote_3`/home/ap153252/NetBeansProjects/Quote_3/quote.cc`#__1c9uX__unnamed_QbKBAABRBlqKUffSfetchCustomersList6F_v_
dbx: "__unnamed_$BAABRBlqKUff::fetchCustomersList()" is not defined as a function or procedure in quote.o
(dbx) run
Running: quote_3 
(process id 8183)
(dbx)
Comment 1 Egor Ushakov 2009-09-15 10:49:55 UTC
Ivan, it looks like dbx sometimes does not recognize functions from anonymous namespaces
Comment 2 Egor Ushakov 2009-09-17 11:34:23 UTC
minor problem in breakpoint wrappers, condition was set even for empty condition - dbx infrastructure expects null in
this case.

fixed in:
http://hg.netbeans.org/cnd-main/rev/234f54ecf42f
http://elif.russia.sun.com/hg/toolshg/rev/fa37f437b78a
Comment 3 Egor Ushakov 2009-09-17 14:46:08 UTC
updates handling and enabled property handling:
http://hg.netbeans.org/cnd-main/rev/588778a0e7bf
http://elif.russia.sun.com/hg/toolshg/rev/2f5a412e9f1d
Comment 4 Quality Engineering 2009-09-18 22:25:42 UTC
Integrated into 'main-golden', will be available in build *200909181401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/234f54ecf42f
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed IZ#172044 (dbx: Function breakpoint works only once)
Comment 5 Vladimir Voskresensky 2009-10-05 13:34:32 UTC
move dbx related issues into dbx-gui component