quakeforge/ruamoko/qwaq/debugger/localsdata.h
Bill Currie c6aa061229 [qwaq] Fetch Ruamoko progs locals from the stack frame
Now that the data is fetched from the correct location, the locals view
is useful again :). However, there seems to be a problem with array
views: not sure they're showing the correct data as I was getting
unexpected values in the display but normal vars seem to be ok.
2022-02-12 10:19:45 +09:00

31 lines
688 B
Objective-C

#ifndef __qwaq_debugger_localsview_h
#define __qwaq_debugger_localsview_h
#include <types.h>
#include "ruamoko/qwaq/ui/tableview.h"
#include "ruamoko/qwaq/debugger/debug.h"
@class DefView;
@class ListenerGroup;
@interface LocalsData : Object <TableViewDataSource>
{
ListenerGroup *onRowCountChanged;
qdb_target_t target;
int has_stack;
qfot_type_encodings_t target_encodings;
unsigned current_fnum;
qdb_function_t *func;
qdb_auxfunction_t *aux_func;
qdb_def_t *defs;
int num_user_defs;
DefView **def_views;
int *def_rows;
void *data;
}
+(LocalsData *)withTarget:(qdb_target_t)target;
-setFunction:(unsigned)fnum;
-fetchData;
@end
#endif