quakeforge/ruamoko/qwaq/debugger/debugger.h
Bill Currie 8a7fbdfc9f [qwaq] Rework allocation to use retain/release
It currently dies when single stepping or exiting due to EditBuffer's
retain count not getting incremented when initialized. This is because
EditBuffer is initialized in C and thus does not call Object's -init.
2020-03-30 16:58:36 +09:00

33 lines
615 B
Objective-C

#ifndef __qwaq_debugger_debugger_h
#define __qwaq_debugger_debugger_h
#include <types.h>
#include <Object.h>
#include "debugger/debug.h"
#include "debugger/localsview.h"
@class ProxyView;
@class Editor;
@class Window;
@class Array;
@interface Debugger : Object
{
qdb_target_t target;
Window *source_window;
ProxyView *file_proxy;
Array *files;
Editor *current_file;
Window *locals_window;
LocalsView *locals_view;
}
+(Debugger *)withTarget:(qdb_target_t)target;
-initWithTarget:(qdb_target_t) target;
-(qdb_target_t)target;
-handleDebugEvent;
@end
#endif//__qwaq_debugger_debugger_h