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 188707 - Task list window fails to populate for C/C++ projects on OS X
Summary: Task list window fails to populate for C/C++ projects on OS X
Status: RESOLVED DUPLICATE of bug 184292
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: Macintosh (x86) Mac OS X
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 16:58 UTC by gevapatz
Modified: 2010-07-16 19:29 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 gevapatz 2010-07-15 16:58:27 UTC
The 'tasks' window remains empty for C/C++ projects under OS X. 

Steps to reproduce:

1. Create new C++ project
2. In main function, insert a deliberate error line with a FIXME or TODO comment, eg:

unknown_function(); // TODO test

3. Attempt to build

4. Open task window, ensure that no filters are active and that the project scope includes the newly created project

5. Note that neither the compiler error nor the 'TODO' comment is listed in the 'tasks' window

Have tested on the following systems/configurations:

- OS X 10.6.4, clean install (C++ version only)
- OS X 10.6.3, clean install (full version)
- OS X 10.6.3, upgrade install from 6.1 (full version)
Comment 1 soldatov 2010-07-15 19:34:03 UTC
ToDo scanner is switched off by default
Comment 2 gevapatz 2010-07-15 20:03:06 UTC
(In reply to comment #1)
> ToDo scanner is switched off by default

The strange thing is that when I do a fresh install of 6.9 on Linux ToDo scanning on C/C++ works out of the box, so it appears the behavior is different between the two versions.

Is there a UI hook to enable it?
Comment 3 soldatov 2010-07-15 20:57:16 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=184292

btw, you can turn tasks support as:
- Tools->Options->C/C++->Project Options and check
-- "Support indexing of not C/C++/Fortran files (slow down parsing)"
- OK to close options dialog
- then Window->Tasks to open tasks component
Comment 4 Vladimir Voskresensky 2010-07-16 19:29:51 UTC

*** This bug has been marked as a duplicate of bug 184292 ***