quakeforge/ruamoko/qwaq/debugger/debugger.h
Bill Currie 674fbae225 [qfcc] Rework binary_expr to be support matrices
And, nicely, simplify it quite a bit. I'm not sure why I didn't thinkg
of this approach before. While the ruamoko back-end doesn't support
matrices yet, the expressions are handled.

As a side effect, type checking on comparisons is "stricter" in that
more potentially bogus comparisons (eg, int-float) are caught, resulting
in a few warnings in ruamoko code and even finding a couple of bugs.
2024-12-05 00:18:47 +09:00

52 lines
1 KiB
Objective-C

#ifndef __qwaq_debugger_debugger_h
#define __qwaq_debugger_debugger_h
#include <types.h>
#include <Object.h>
#include "ruamoko/qwaq/debugger/debug.h"
#include "ruamoko/qwaq/debugger/localsdata.h"
@class ProxyView;
@class Editor;
@class EditStatus;
@class ScrollBar;
@class Window;
@class Array;
@class TableView;
@interface Debugger : Object
{
qdb_target_t target;
qdb_event_t event;
struct {
qdb_state_t state;
int depth;
unsigned until_function;
} trace_cond;
struct {
int onEnter;
int onExit;
} sub_cond;
SEL traceHandler;
SEL breakHandler;
int running;
Window *source_window;
ScrollBar *source_scrollbar;
EditStatus *source_status;
ProxyView *file_proxy;
Array *files;
Editor *current_file;
Window *locals_window;
LocalsData *locals_data;
TableView *locals_view;
}
+(Debugger *)withTarget:(qdb_target_t)target;
-initWithTarget:(qdb_target_t) target;
-(qdb_target_t)target;
-handleDebugEvent;
@end
#endif//__qwaq_debugger_debugger_h