NoaDebuggerNoaDebugger
  • v1.6.0
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.0
  • v1.0.0
Demo
Contact
Buy
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • v1.6.0
  • v1.5.0
  • v1.4.0
  • v1.3.0
  • v1.2.0
  • v1.1.0
  • v1.0.0
Demo
Contact
Buy
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • 日本語
  • English
  • MethodHandler

MethodHandler

By using NoaDebugger.MethodHandler, you can wait for processes that do not terminate immediately with the DebugCommand feature.

After the completion of the command process, please change MethodHandler.IsDone to true to notify NOA Debugger of the end of the process.

As long as MethodHandler.IsDone is false, the target command element cannot be pressed.

Sample Code

#if NOA_DEBUGGER
using NoaDebugger;

public class DebugCommandSample : DebugCategoryBase
{
    MethodHandler _handler = new MethodHandler();

    public MethodHandler HandleMethod()
    {
        // Do something.

        _handler.IsDone = false;
        return _handler;
    }

    void _Exec()
    {
        // Do something.

        // Raises the flag after finished process.
        _handler.IsDone = true;
    }
}
#endif