KDE/kdevplatform/debugger/variable
Vladimir Prus
ghost at cs.msu.su
Tue Oct 13 20:18:32 UTC 2009
On Saturday 03 October 2009 Niko Sams wrote:
> SVN commit 1030728 by nsams:
>
> Don't crash when debugger doesn't provide a VariableController
>
> M +6 -0 variablecollection.cpp
>
>
> --- trunk/KDE/kdevplatform/debugger/variable/variablecollection.cpp #1030727:1030728
> @@ -138,6 +138,7 @@
>
> Variable* Watches::add(const QString& expression)
> {
> + if (!currentSession()->variableController()) return 0;
It seems to me that if methods of Watches class is called when there's
no variable controller, then things are very, very broken. Am I missing
something?
- Volodya
More information about the KDevelop-devel
mailing list