Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Call hierarchy CDT4.0M5

Hi all

I tried M5 out and it look good some nice new features, great work.
Is the Call hierarchy view suppose to work in M5 or should I wait for M6 to test it, because I get this error with a simple project with only a main() with one function call.

!MESSAGE An internal error occurred during: "Child Node Computation".
!STACK 0
java.lang.ClassCastException: org.eclipse.cdt.internal.core.pdom.dom.c.PDOMCParameter at org.eclipse.cdt.internal.core.index.composite.c.CompositeCFunction.getParameters(CompositeCFunction.java:36) at org.eclipse.cdt.internal.core.model.ext.CElementHandle.extractParameterTypes(CElementHandle.java:259) at org.eclipse.cdt.internal.core.model.ext.FunctionHandle.<init>(FunctionHandle.java:29) at org.eclipse.cdt.internal.core.model.ext.CElementHandleFactory.create(CElementHandleFactory.java:60) at org.eclipse.cdt.internal.ui.viewsupport.IndexUI.getCElementForName(IndexUI.java:161) at org.eclipse.cdt.internal.ui.viewsupport.IndexUI.findAnyDeclaration(IndexUI.java:170) at org.eclipse.cdt.internal.ui.viewsupport.IndexUI.findRepresentative(IndexUI.java:99) at org.eclipse.cdt.internal.ui.callhierarchy.CHQueries.findCalls(CHQueries.java:84) at org.eclipse.cdt.internal.ui.callhierarchy.CHContentProvider.asyncronouslyComputeRefersTo(CHContentProvider.java:128) at org.eclipse.cdt.internal.ui.callhierarchy.CHContentProvider.asyncronouslyComputeChildren(CHContentProvider.java:99) at org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider.runJob(AsyncTreeContentProvider.java:212) at org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider.access$0(AsyncTreeContentProvider.java:207) at org.eclipse.cdt.internal.ui.viewsupport.AsyncTreeContentProvider$1.run(AsyncTreeContentProvider.java:52)
   at org.eclipse.core.internal.jobs.Worker.run(Worker.java:58)

If it is suppose to work, I will create bugzilla entry.

Christo


Back to the top