6a64df5a5b382f3642e3f2a338bbb292f9455c93
[mono.git] / mono / mini / debugger-agent.h
1 #ifndef __MONO_DEBUGGER_AGENT_H__
2 #define __MONO_DEBUGGER_AGENT_H__
3
4 #include "mini.h"
5
6 MONO_API void
7 mono_debugger_agent_parse_options (char *options);
8
9 void
10 mono_debugger_agent_init (void);
11
12 void
13 mono_debugger_agent_breakpoint_hit (void *sigctx);
14
15 void
16 mono_debugger_agent_single_step_event (void *sigctx);
17
18 void
19 debugger_agent_single_step_from_context (MonoContext *ctx);
20
21 void
22 debugger_agent_breakpoint_from_context (MonoContext *ctx);
23
24 void
25 mono_debugger_agent_free_domain_info (MonoDomain *domain);
26
27 #if defined(PLATFORM_ANDROID) || defined(TARGET_ANDROID)
28 void
29 mono_debugger_agent_unhandled_exception (MonoException *exc);
30 #endif
31
32 void
33 mono_debugger_agent_handle_exception (MonoException *ext, MonoContext *throw_ctx, MonoContext *catch_ctx);
34
35 void
36 mono_debugger_agent_begin_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx);
37
38 void
39 mono_debugger_agent_end_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx);
40
41 void
42 mono_debugger_agent_user_break (void);
43
44 void
45 mono_debugger_agent_debug_log (int level, MonoString *category, MonoString *message);
46
47 gboolean
48 mono_debugger_agent_debug_log_is_enabled (void);
49
50 MONO_API gboolean
51 mono_debugger_agent_transport_handshake (void);
52
53 #endif