Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cdt-dev] Re: [cdt-debug-dev] enabling CDT to use multiple debuggers

I also agree that the choice of debugger should be put into project
properties instead of launch configurations.

Putting this option in launch configurations gives user an idea that they
can switch debugger for the project on the fly.  It's too easy for the user
to switch the choice of debugger.  The choice of debugger also depends on
what compiler the project is using.  If the user is using a debugger that
is not compatible with the compiler that the project is built with, users
will not be able to start the debugger.  User may have a hard time
trouble-shooting this problem.  Putting it as one of the project properties
forces users to make a conscious decision that they are changing the
debugger for the project and they will need to rebuild.

As a suggestion, you should also add an option in Workbench -> Preferences,
allowing user to specify a default debugger to use.  We don't want users to
manually change their choice of debugger for all of their projects if our
choice of default does not match with what they need.

Regards,
Samantha Chan



                                                                                                                 
                    Robert                                                                                       
                    Weisz/Toronto/IBM@IBM       To:     cdt-debug-dev@xxxxxxxxxxx, cdt-dev@xxxxxxxxxxx           
                    CA                          cc:                                                              
                    Sent by:                    Subject:     [cdt-debug-dev] enabling CDT to use multiple        
                    cdt-debug-dev-admin@e        debuggers                                                       
                    clipse.org                                                                                   
                                                                                                                 
                                                                                                                 
                    04/19/2002 10:09 AM                                                                          
                    Please respond to                                                                            
                    cdt-debug-dev                                                                                
                                                                                                                 
                                                                                                                 



Currently CDT supports only gdb, by hardcoding the launch of gdbPICL.
There was interest manifested on using other debuggers as well, possibly
from various contributors.
We are looking at feedback on where in the UI to surface this choice to the
user:

I can see at least 2 possibilities for debugger invocation:

1) From the launch configurations: we could add a Tab with a few entry
fields for specifying which debugger to launch,
     with its attending parameters etc.
2) We could add the choice of debugger in the Project->Properties.

I am inclining towards 2), since in the Project properties wizard there are
already things like "Build Invocation".
Comments, suggestions welcome.

Robert.

===========================================================


_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/cdt-debug-dev





Back to the top