[mini] set MONO_ARCH_HAVE_INIT_LMF_EXT on architectures that implement mono_arch_init...
[mono-project.git] / mono / mini / debugger-agent.h
blob41fe82ea98ede8d2e3cca7dae2d7163358c875b4
1 /**
2 * \file
3 */
5 #ifndef __MONO_DEBUGGER_AGENT_H__
6 #define __MONO_DEBUGGER_AGENT_H__
8 #include "mini.h"
10 MONO_API void
11 mono_debugger_agent_parse_options (char *options);
13 void
14 mono_debugger_agent_init (void);
16 void
17 mono_debugger_agent_breakpoint_hit (void *sigctx);
19 void
20 mono_debugger_agent_single_step_event (void *sigctx);
22 void
23 debugger_agent_single_step_from_context (MonoContext *ctx);
25 void
26 debugger_agent_breakpoint_from_context (MonoContext *ctx);
28 void
29 mono_debugger_agent_free_domain_info (MonoDomain *domain);
31 #if defined(PLATFORM_ANDROID) || defined(TARGET_ANDROID)
32 void
33 mono_debugger_agent_unhandled_exception (MonoException *exc);
34 #endif
36 void
37 mono_debugger_agent_handle_exception (MonoException *ext, MonoContext *throw_ctx, MonoContext *catch_ctx);
39 void
40 mono_debugger_agent_begin_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx);
42 void
43 mono_debugger_agent_end_exception_filter (MonoException *exc, MonoContext *ctx, MonoContext *orig_ctx);
45 void
46 mono_debugger_agent_user_break (void);
48 void
49 mono_debugger_agent_debug_log (int level, MonoString *category, MonoString *message);
51 gboolean
52 mono_debugger_agent_debug_log_is_enabled (void);
54 MONO_API gboolean
55 mono_debugger_agent_transport_handshake (void);
57 #endif