1// SPDX-FileCopyrightText: 2023 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: GPL-3.0-or-later
4
5#ifndef DEBUGENGINE_H
6#define DEBUGENGINE_H
7
8
9#include <QSharedPointer>
10#include <QObject>
11
12class DapSession;
13class JavaDebugger;
14class PythonDebugger;
15class DebugEngine : public QObject
16{
17 Q_OBJECT
18public:
19 explicit DebugEngine(QObject *parent = nullptr);
20
21 bool start();
22 void stop();
23 bool exit();
24
25signals:
26
27public slots:
28private:
29 bool initialize();
30
31 bool isRunning = false;
32
33 QSharedPointer<DapSession> dapSession;
34 QSharedPointer<JavaDebugger> javaDebugger;
35 QSharedPointer<PythonDebugger> pythonDebugger;
36};
37
38#endif // DEBUGENGINE_H
39