ide: Gdb_MI2 fixed #615

git-svn-id: svn://ultimatepp.org/upp/trunk@6696 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-12-26 10:46:54 +00:00
parent ce8e52f4ef
commit c5d1a7c510

View file

@ -197,7 +197,7 @@ bool Gdb_MI2::IsFinished()
bool Gdb_MI2::Tip(const String& exp, CodeEditor::MouseTip& mt)
{
// quick exit
if(exp.IsEmpty())
if(exp.IsEmpty() || !stopped || !started)
return false;
// if local vars are empty, update them