Merge pull request #1617 from keneanung/OdbcCommandExceptionOnNoData
[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 gboolean mono_debugger_agent_thread_interrupt (void *sigctx, MonoJitInfo *ji);
28
29 #if defined(PLATFORM_ANDROID) || defined(TARGET_ANDROID)
30 void
31 mono_debugger_agent_unhandled_exception (MonoException *exc);
32 #endif
33
34 void
35 mono_debugger_agent_handle_exception (MonoException *ext, MonoContext *throw_ctx, MonoContext *catch_ctx);
36
37 void
38 mono_debugger_agent_begin_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx);
39
40 void
41 mono_debugger_agent_end_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx);
42
43 void
44 mono_debugger_agent_user_break (void);
45
46 void
47 mono_debugger_agent_debug_log (int level, MonoString *category, MonoString *message);
48
49 gboolean
50 mono_debugger_agent_debug_log_is_enabled (void);
51
52 MONO_API gboolean
53 mono_debugger_agent_transport_handshake (void);
54
55 #endif