2023-08-25 15:40:18 +02:00
|
|
|
// 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;
|
2023-09-06 11:23:59 +02:00
|
|
|
void quitDebugger() override;
|
|
|
|
|
|
2023-08-25 15:40:18 +02:00
|
|
|
void setupEngine() override;
|
|
|
|
|
Utils::Process m_proc;
|
2023-09-12 10:44:57 +02:00
|
|
|
|
|
|
|
|
const QLoggingCategory &logCategory() override
|
|
|
|
|
{
|
|
|
|
|
static const QLoggingCategory logCategory = QLoggingCategory("qtc.dbg.dapengine.python",
|
|
|
|
|
QtWarningMsg);
|
|
|
|
|
return logCategory;
|
|
|
|
|
}
|
2023-08-25 15:40:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // Debugger::Internal
|