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:
21
src/plugins/debugger/dap/pydapengine.h
Normal file
21
src/plugins/debugger/dap/pydapengine.h
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright (C) 2023 The Qt Company Ltd.
|
||||
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "dapengine.h"
|
||||
|
||||
namespace Debugger::Internal {
|
||||
|
||||
class PyDapEngine : public DapEngine
|
||||
{
|
||||
public:
|
||||
PyDapEngine();
|
||||
|
||||
private:
|
||||
void handleDapInitialize() override;
|
||||
void setupEngine() override;
|
||||
Utils::Process m_proc;
|
||||
};
|
||||
|
||||
} // Debugger::Internal
|
||||
Reference in New Issue
Block a user