diff --git a/gui/qt/basicdebugger.cpp b/gui/qt/basicdebugger.cpp index 2acf4f635..c29d932ae 100644 --- a/gui/qt/basicdebugger.cpp +++ b/gui/qt/basicdebugger.cpp @@ -166,6 +166,9 @@ MainWindow::debug_basic_status_t MainWindow::debugBasicPrgmLookup(bool allowSwit if (!m_basicShowTempParser) { return DBG_BASIC_NO_EXECUTING_PRGM; } + } else if (name[1] == '\0') { + // empty name happens during Input for some reason + return DBG_BASIC_NO_EXECUTING_PRGM; } else { // lookup in map to see if we've already parsed this file auto basicPrgmIter = m_basicPrgmsMap.constFind(var_name);