2020-03-29 17:34:08 +00:00
|
|
|
#ifndef __qwaq_debugger_debugger_h
|
|
|
|
#define __qwaq_debugger_debugger_h
|
2020-03-24 16:07:58 +00:00
|
|
|
|
2020-03-30 03:43:02 +00:00
|
|
|
#include <types.h>
|
2020-03-24 16:07:58 +00:00
|
|
|
#include <Object.h>
|
|
|
|
|
2020-03-29 17:34:08 +00:00
|
|
|
#include "debugger/debug.h"
|
2020-03-31 11:48:38 +00:00
|
|
|
#include "debugger/localsdata.h"
|
2020-03-24 16:07:58 +00:00
|
|
|
|
|
|
|
@class ProxyView;
|
|
|
|
@class Editor;
|
2020-03-30 13:02:58 +00:00
|
|
|
@class ScrollBar;
|
2020-03-24 16:07:58 +00:00
|
|
|
@class Window;
|
|
|
|
@class Array;
|
2020-03-31 11:48:38 +00:00
|
|
|
@class TableView;
|
2020-03-24 16:07:58 +00:00
|
|
|
|
|
|
|
@interface Debugger : Object
|
|
|
|
{
|
2020-03-30 03:43:02 +00:00
|
|
|
qdb_target_t target;
|
2020-03-26 00:04:31 +00:00
|
|
|
|
2020-03-24 16:07:58 +00:00
|
|
|
Window *source_window;
|
2020-03-31 11:48:38 +00:00
|
|
|
ScrollBar *source_scrollbar;
|
2020-03-24 16:07:58 +00:00
|
|
|
ProxyView *file_proxy;
|
|
|
|
Array *files;
|
|
|
|
Editor *current_file;
|
2020-03-26 00:04:31 +00:00
|
|
|
|
|
|
|
Window *locals_window;
|
2020-03-31 11:48:38 +00:00
|
|
|
LocalsData *locals_data;
|
|
|
|
TableView *locals_view;
|
2020-03-24 16:07:58 +00:00
|
|
|
}
|
2020-03-30 07:30:58 +00:00
|
|
|
+(Debugger *)withTarget:(qdb_target_t)target;
|
2020-03-24 16:07:58 +00:00
|
|
|
-initWithTarget:(qdb_target_t) target;
|
2020-03-30 07:30:58 +00:00
|
|
|
-(qdb_target_t)target;
|
2020-03-24 16:07:58 +00:00
|
|
|
-handleDebugEvent;
|
|
|
|
@end
|
|
|
|
|
2020-03-29 17:34:08 +00:00
|
|
|
#endif//__qwaq_debugger_debugger_h
|