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.
For the following code: ------------------------- class Foo { public: Foo() { printf("ctor\n"); } ~Foo() { printf("dtor\n"); } }; /* * */ int main(int argc, char** argv) { Foo foo1(); Foo* foo2 = new Foo(); foo2->~Foo(); delete foo2; return 0; } ------------------------- if you ask it to 'find usages" for the constructor, it cannot find 'Foo foo1();' although it can find the constructor in 'Foo* foo2 = new Foo();' if you ask it to 'find usages" for the destructor, it cannot find either instance.
Product Version: NetBeans IDE Dev (Build 201303192300) Updates: Updates available Java: 1.6.0_43; Java HotSpot(TM) Client VM 20.14-b01 Runtime: Java(TM) SE Runtime Environment 1.6.0_43-b01 System: Linux version 3.6.11-4.fc16.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
*** This bug has been marked as a duplicate of bug 223032 ***