aseprite/src/app/commands/debugger.h
David Capello 212e9fbe6c New initial Lua debugger version (#1967)
Incomplete version of the Lua debugger.
Some available features:

* Break in next executed instruction
* Step in, over, out
* See & navigate stacktrace
* See local variables

Some missing features:

* Breakpoints
* Eval user expressions with local variables

The UX needs some improvement yet.
2021-10-12 16:52:14 -03:00

34 lines
575 B
C++

// Aseprite
// Copyright (C) 2021 Igara Studio S.A.
//
// This program is distributed under the terms of
// the End-User License Agreement for Aseprite.
#ifndef APP_COMMANDS_DEBUGGER_H_INCLUDED
#define APP_COMMANDS_DEBUGGER_H_INCLUDED
#pragma once
#include "app/commands/command.h"
#include <memory>
namespace app {
class Debugger;
class DebuggerCommand : public Command {
public:
DebuggerCommand();
void closeDebugger(Context* ctx);
protected:
void onExecute(Context* context) override;
std::unique_ptr<Debugger> m_debugger;
};
} // namespace app
#endif