Bug 277205

Summary: Default tool (debug/gdb) option
Product: [Applications] kdevelop Reporter: leon pollak <leonp>
Component: UI: all modesAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: niko.sams
Priority: NOR    
Version: git master   
Target Milestone: 4.2.3   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 4.4
Sentry Crash Report:

Description leon pollak 2011-07-06 15:34:24 UTC
Version:           git master (using KDE 4.6.3) 
OS:                Linux

I am in the "debug area", but when I enter it (pressing F9), the bottom tool automatically opened is the "debug" tool. As I am mostly doing remote debugging, that is why the "debug" tool seems to be of no use for me. Contrary, the "gdb" tool is the mostly used one, as all of the communication with the remote target appears in it.
 
So, the question is - if it is possible to "return" (from 3.5.5 version) the option to choose between "debug" and "gdb" to be opened by default (per project).

Reproducible: Didn't try



Expected Results:  
GDB tool is opened by default
Comment 1 Niko Sams 2011-12-30 12:07:02 UTC
AFAICS 3.5 had "Start Debugger With": "Framestack" or "GDB Output".
You mean this option, right?

I would suggest those options:
- Application Output
- GDB Console
- Frame Stack

It should not be hard to add this feature.
Comment 2 leon pollak 2011-12-30 22:20:35 UTC
Perfect, IMHO.
Exactly what I meant.
Comment 3 Niko Sams 2012-01-22 11:22:10 UTC
Git commit 586ee0148a2761fc2fb599b3941608478d2f833c by Niko Sams.
Committed on 22/01/2012 at 12:19.
Pushed by nsams into branch 'master'.

add debugger option to choose which tool view should be opened on debug start

This option already existed in KDevelop 3.5

Can't be in 4.3 because of new strings and a bugfix I applied to
kdevplatform master only.
FIXED-IN: 4.4

M  +54   -34   debuggers/gdb/debuggerconfigwidget.ui
M  +2    -3    debuggers/gdb/debuggerplugin.cpp
M  +2    -4    debuggers/gdb/debuggerplugin.h
M  +11   -2    debuggers/gdb/debugjob.cpp
M  +12   -3    debuggers/gdb/debugsession.cpp
M  +4    -2    debuggers/gdb/debugsession.h
M  +8    -0    debuggers/gdb/gdblaunchconfig.cpp
M  +2    -0    debuggers/gdb/gdboutputwidget.cpp

http://commits.kde.org/kdevelop/586ee0148a2761fc2fb599b3941608478d2f833c