2009-03-11 Zoltan Varga <vargaz@gmail.com>
[mono-debugger.git] / mono / mini / debug-mini.h
blob975df604bdea26aa925fda2a51e4e3d549b21e4d
1 #ifndef __DEBUG_MINI_H__
2 #define __DEBUG_MINI_H__
4 #include <mono/metadata/class-internals.h>
5 #include <mono/metadata/mono-debug-debugger.h>
7 #include "mini.h"
9 typedef struct _MonoDebuggerThreadInfo MonoDebuggerThreadInfo;
10 extern MonoDebuggerThreadInfo *mono_debugger_thread_table;
12 void
13 mono_debugger_thread_created (gsize tid, MonoThread *thread, MonoJitTlsData *jit_tls);
15 void
16 mono_debugger_thread_cleanup (MonoJitTlsData *jit_tls);
18 void
19 mono_debugger_extended_notification (MonoDebuggerEvent event, guint64 data, guint64 arg);
21 void
22 mono_debugger_trampoline_compiled (MonoMethod *method, const guint8 *code);
24 void
25 mono_debugger_call_exception_handler (gpointer addr, gpointer stack, MonoObject *exc);
27 gboolean
28 mono_debugger_handle_exception (MonoContext *ctx, MonoObject *obj);
30 MonoObject *
31 mono_debugger_runtime_invoke (MonoMethod *method, void *obj, void **params, MonoObject **exc);
34 * This is the old breakpoint interface.
35 * It isn't used by the debugger anymore, but still when using the `--break' command
36 * line argument.
39 int mono_debugger_insert_breakpoint_full (MonoMethodDesc *desc);
40 int mono_debugger_remove_breakpoint (int breakpoint_id);
41 void mono_debugger_breakpoint_callback (MonoMethod *method, guint32 idx);
43 #endif