1 #ifndef __DEBUG_INTERNALS_H__
2 #define __DEBUG_INTERNALS_H__
5 #include <mono/metadata/debug-helpers.h>
6 #include <mono/metadata/mono-debug.h>
7 #include <mono/utils/mono-compiler.h>
9 struct _MonoDebugMethodInfo {
11 MonoDebugHandle *handle;
21 int start_offset, end_offset;
27 /* Might be null for the main scope */
28 MonoDebugCodeBlock *block;
32 * Information about local variables retrieved from a symbol file.
34 struct _MonoDebugLocalsInfo {
36 MonoDebugLocalVar *locals;
38 MonoDebugCodeBlock *code_blocks;
42 * Information about method await yield and resume offsets retrieved from a symbol file.
44 struct _MonoDebugMethodAsyncInfo {
45 uint32_t catch_handler_offset;
47 uint32_t *yield_offsets;
48 uint32_t *resume_offsets;
49 uint32_t *move_next_method_token;
52 struct _MonoDebugLineNumberEntry {
54 uint32_t native_offset;
58 * Information about a source file retrieved from a symbol file.
64 } MonoDebugSourceInfo;
69 int end_line, end_column;
72 void mono_debugger_lock (void);
73 void mono_debugger_unlock (void);
76 mono_debug_get_seq_points (MonoDebugMethodInfo *minfo, char **source_file, GPtrArray **source_file_list, int **source_files, MonoSymSeqPoint **seq_points, int *n_seq_points);
79 mono_debug_free_locals (MonoDebugLocalsInfo *info);
82 mono_debug_free_method_async_debug_info (MonoDebugMethodAsyncInfo *info);
85 mono_debug_image_has_debug_info (MonoImage *image);
87 MonoDebugSourceLocation *
88 mono_debug_lookup_source_location_by_il (MonoMethod *method, guint32 il_offset, MonoDomain *domain);
90 #endif /* __DEBUG_INTERNALS_H__ */