forked from qt-creator/qt-creator
DAP: Add Python debugging
Added Python support to the DAP engine in Qt Creator. Note: Locals aren't displayed for python. It will be fixed in the following commit. Change-Id: I6d3b41fecc98b92951ed0522e9201401293034d7 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -727,10 +727,10 @@ void DebuggerEnginePrivate::setupViews()
|
||||
m_breakWindow->setObjectName("Debugger.Dock.Break." + engineId);
|
||||
m_breakWindow->setWindowTitle(Tr::tr("&Breakpoints"));
|
||||
|
||||
if (!currentPerspective || currentPerspective->id() == Constants::PRESET_PERSPECTIVE_ID)
|
||||
m_perspective->useSubPerspectiveSwitcher(EngineManager::engineChooser());
|
||||
else
|
||||
if (currentPerspective && currentPerspective->id() != Constants::PRESET_PERSPECTIVE_ID)
|
||||
m_perspective->useSubPerspectiveSwitcher(EngineManager::dapEngineChooser());
|
||||
else
|
||||
m_perspective->useSubPerspectiveSwitcher(EngineManager::engineChooser());
|
||||
|
||||
m_perspective->addToolBarAction(&m_continueAction);
|
||||
m_perspective->addToolBarAction(&m_interruptAction);
|
||||
|
||||
Reference in New Issue
Block a user