| Adding to "Debug As..." sub menu? [message #334718] | 
Wed, 25 February 2009 09:06   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Is there any way I can add additional "shortcuts" to the "Debug As..."  
submenu (under "Run" and the right-click menu for a binary file)? 
 
Specifically, for a C++ application I get one entry by default - "Local  
C/C++ application". I'd really like to have "C/C++ Postmortem debugger"  
and "C/C++ Attach to Local Application" as well - so that I won't have to  
add special debug configurations for each and every program to get access  
to these (very useful) debug options. 
 
I can't seem to find anything about this, or the "Debug as" menu in  
general in the debug documentation, but perhaps I'm looking at the wrong  
place...
 |  
 |  
  | 
 | 
 | 
 | 
| Re: Adding to "Debug As..." sub menu? [message #334762 is a reply to message #334761] | 
Thu, 26 February 2009 08:40   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hitesh wrote: 
 
> Toralf Lund wrote: 
 
>> No... 
 
>> I'm not sure I follow you. Are you saying that I have to add or modify a  
>> plugin to do this kind of thing? I was rather hoping I could configure a  
 
> If you wanted a Launch-shortcut to appear in the run and/or debug sub  
> menus, you would have to declare an extension to this point. This is a  
> task for a plug-in developer. 
OK. Fair enough. 
 
>> "link" between the menu and other GUI items, like "Debug configurations",  
>> from within the GUI itself... 
 
> If the plug-in developer had provided such a shortcut, it would have been  
> available in the run/debug sub menu. 
What I was trying to say, is that it seems to me it should be possible to  
have a menu like "Debug as" automatically pick up the configuration types  
available from "Debug Configuration" (and similarly for "Run as"/"Run  
configuration"), without the need for a "shortcut" definition as such. But  
maybe that's yet another feature request... 
 
> Since you are looking for C/C++  
> launch shortcuts, this sounds like a feature request for CDT. You may  
> discuss this on the CDT newsgroup : 
>  http://www.eclipse.org/newsportal/thread.php?group=eclipse.t ools.cdt 
Yeah, maybe I'll ask there, and/or check the appropriate component in  
Bugzilla... 
 
Thanks, 
 
- Toralf
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.49567 seconds