DAP: Change unique_ptr to QObject parenting

Change-Id: I47f5db1823e69829294fb9f551a2edcb980d86dc
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Artem Sokolovskii
2023-08-17 13:32:55 +02:00
parent 17d8f61f93
commit e3808cf4f4
6 changed files with 43 additions and 29 deletions

View File

@@ -27,6 +27,7 @@ class DapEngine : public DebuggerEngine
{
public:
DapEngine();
~DapEngine() override;
protected:
void executeStepIn(bool) override;
@@ -107,7 +108,7 @@ protected:
void connectDataGeneratorSignals();
QByteArray m_inbuffer;
std::unique_ptr<DapClient> m_dapClient = nullptr;
DapClient *m_dapClient = nullptr;
int m_nextBreakpointId = 1;
int m_currentThreadId = -1;