Community
Participate
Working Groups
Created attachment 183628 [details] don't double parens StackFrameVMNode's label provider adds "()" at the end of the function name for a stack frame. This is handy unless the function name provided already includes parenthesis. This can happen when the function name includes the full C++ function signature as in: CActiveScheduler::Start(CActiveScheduler::TLoop**) Currently you end up with: CActiveScheduler::Start(CActiveScheduler::TLoop**)() This patch continues the existing behavior by default but skips adding the "()" if the function name already contains "(" I would like to fix this for 7.0.x and 8.0, the 7.0.x patch will be slightly different because MessagesForLaunchVM.properties was renamed.
Looks good to me
*** cdt cvs genie on behalf of kryall *** Bug 330875 - Use of Parenthesis in Stack Frame Name [*] MessagesForLaunchVM.properties 1.2 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.properties?root=Tools_Project&r1=1.1&r2=1.2 [*] StackFramesVMNode.java 1.14 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/StackFramesVMNode.java?root=Tools_Project&r1=1.13&r2=1.14 [*] MessagesForLaunchVM.java 1.6 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.java?root=Tools_Project&r1=1.5&r2=1.6 [*] CSourceNotFoundDescriptionFactory.java 1.3 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/CSourceNotFoundDescriptionFactory.java?root=Tools_Project&r1=1.2&r2=1.3
Committed to both branches.
*** cdt cvs genie on behalf of kryall *** Bug 330875 - Use of Parenthesis in Stack Frame Name [*] messages.properties 1.9.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/Attic/messages.properties?root=Tools_Project&r1=1.9&r2=1.9.2.1 [*] StackFramesVMNode.java 1.13.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/StackFramesVMNode.java?root=Tools_Project&r1=1.13&r2=1.13.2.1 [*] MessagesForLaunchVM.java 1.4.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/launch/MessagesForLaunchVM.java?root=Tools_Project&r1=1.4&r2=1.4.2.1 [*] CSourceNotFoundDescriptionFactory.java 1.2.2.1 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/internal/ui/CSourceNotFoundDescriptionFactory.java?root=Tools_Project&r1=1.2&r2=1.2.2.1