mruby 3.3.0
mruby is the lightweight implementation of the Ruby language
Loading...
Searching...
No Matches
Classes | Typedefs | Enumerations | Functions
debug.h File Reference

More...

#include "common.h"
Include dependency graph for debug.h:

Go to the source code of this file.

Classes

struct  mrb_irep_debug_info_line
 
struct  mrb_irep_debug_info_file
 
struct  mrb_irep_debug_info
 

Typedefs

typedef enum mrb_debug_line_type mrb_debug_line_type
 mruby Debugging.
 
typedef struct mrb_irep_debug_info_line mrb_irep_debug_info_line
 
typedef struct mrb_irep_debug_info_file mrb_irep_debug_info_file
 
typedef struct mrb_irep_debug_info mrb_irep_debug_info
 

Enumerations

enum  mrb_debug_line_type { mrb_debug_line_ary = 0 , mrb_debug_line_flat_map , mrb_debug_line_packed_map }
 mruby Debugging.
 

Functions

const char * mrb_debug_get_filename (mrb_state *mrb, const mrb_irep *irep, uint32_t pc)
 
int32_t mrb_debug_get_line (mrb_state *mrb, const mrb_irep *irep, uint32_t pc)
 
mrb_bool mrb_debug_get_position (mrb_state *mrb, const mrb_irep *irep, uint32_t pc, int32_t *lp, const char **fp)
 
mrb_irep_debug_infomrb_debug_info_alloc (mrb_state *mrb, mrb_irep *irep)
 
mrb_irep_debug_info_filemrb_debug_info_append_file (mrb_state *mrb, mrb_irep_debug_info *info, const char *filename, uint16_t *lines, uint32_t start_pos, uint32_t end_pos)
 
void mrb_debug_info_free (mrb_state *mrb, mrb_irep_debug_info *d)
 

Detailed Description

See Copyright Notice in mruby.h