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 181571 - File name is empty in New Breakpoint window
Summary: File name is empty in New Breakpoint window
Status: RESOLVED DUPLICATE of bug 181587
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC All
: P1 normal (vote)
Assignee: issues@cnd
URL:
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2010-03-05 06:23 UTC by Alexander Pepin
Modified: 2010-03-05 09:07 UTC (History)
1 user (show)

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 2010-03-05 06:23:38 UTC
Steps to reproduce:
- create Welcome sample
- open welcome.cc in the editor
- call Debug->"New Breakpoint..." from menu bar
- choose Line as breakpoint type
Result: "File Name" is empty whereas it should be filled with the name of the file opened in the active editor tab. This is a regression that causes failure of almost all debugger tests.
Comment 1 Egor Ushakov 2010-03-05 06:46:12 UTC
for some reason 
EditorContextDispatcher.getDefault().getMostRecentURLAsString() and
EditorContextDispatcher.getDefault().getMostRecentLineNumber()
do not work any more
Comment 2 Martin Entlicher 2010-03-05 08:41:58 UTC
Reproduced.
Comment 3 Egor Ushakov 2010-03-05 08:59:36 UTC
we've found that this is cnd issue, sorry
Comment 4 Egor Ushakov 2010-03-05 09:00:31 UTC

*** This bug has been marked as a duplicate of bug 181587 ***
Comment 5 Martin Entlicher 2010-03-05 09:07:29 UTC
This is a lookup issue. Utilities.actionsGlobalContext().lookupResult(FileObject.class) does contain C files.