string disassemble(string program_name, string function_name) | Get the ir of specifided function |
void enable_compile_error(bool enable) | Enable compile error reporting |
void enable_compile_warning(bool enable) | Enable compile warning reporting |
bool enable_exception_log(int err, int enable) | Enable exception auto log |
bool set_trace_when_exception_ignore(int enable) | Set trace when exception being ignored |
int get_value_attrib(mixed v) | Get value attribs, just for debugging |
bool get_jit_enable_state() | Get jit enable state |
void switch_jit_state(int state) | Switch JIT state temprary for debugging |
bool get_test_point(int index) | Get test point |
array get_test_points() | Get test points |
int set_sleep_ms(int debug_point, int ms) | Set sleep time (ms 0-255) at debug point to test sync for multi-coroutines |
int malloc(int size) | Use malloc in libc |
void free(int ptr) | Use free in libc |
int std_alloc(int size) | Use alloc in std_memmgr |
void std_free(int ptr) | Use free in std_memmgr |
int block_alloc(int size) | Use GCBlockAlloc::alloc |
void block_free(int ptr) | Use GCBlockAlloc::free |
int test_alloc_and_init_array(int size, int ms, bool init_flag = true) | Do performance test: new & init array |
int test_alloc_raw_pointer(int size, int ms, bool has_children = true) | Do performance test: new raw pointer |
void test_find_in_map_with_cache(map m, string key, int count) | Do performance test: find in amp with cache |
void set_enable_create_new_co(bool flag) | Set flag of CoroutineMgr::m_enable_create_new_co |
void add_string_terminator(string str) | Add string's terminator '\0' |
void device_stat() | Show coroutine state |
void lang_value_stat() | Show LangValue state |