Breakpoints

Andreas Pakulat apaku at gmx.de
Fri Apr 10 09:19:58 UTC 2009


I'll put my thoughts about the rest into another mail later, but wanted
to say something about this paragraph:

On 10.04.09 12:43:27, Vladimir Prus wrote:
> Still -- what should breakpoint widget display? We need a notion
> of selected project and/or selected config so that breakpoint
> widget can display breakpoints from it.

Why can it not show all breakpoints from all projects? In particular
when I have two projects that work together I want to easily change
breakpoints for either of them.

That also means that maybe breakpoints don't need to be stored on a
per-project or per-launch-config basis, but could be stored globally.
As a breakpoint really only needs to have a reference to a particular
file, unless I'm mistaken.

> I actually think that having one selected project is generally good
> from usability perspective -- maybe we should do that?

We already have that, see ISelectionController::currentSelection(). It
might need a bit of extension to be able to ask for the selection of a
particular toolview or the editor area (similar to eclipse way of
handling selection). And its also used already, for enabling the various
project-related actions.

Andreas

-- 
You never know how many friends you have until you rent a house on the beach.




More information about the KDevelop-devel mailing list