Yukihiro "Matz" Matsumoto
675fd3dc80
allow send method not to call mrb_funcall if calling method is implemented in Ruby; fix #1680 ref #1765
2014-03-01 18:13:10 +09:00
Yukihiro "Matz" Matsumoto
5b8229715d
revert 38e9ce21 and API changed; mrb_get_backtrace() -> renamed to mrb_exc_backtrace since this is a backtrace method implementation of Exception; mrb_get_backtrace_at() -> removed; mrb_get_backtrace() -> added to get backtrace in array (like caller)
2014-02-27 04:34:30 +09:00
Yukihiro "Matz" Matsumoto
38e9ce21f8
add new function mrb_get_backtrace_at() to get backtrace at ci and pc
2014-02-27 03:45:52 +09:00
Yukihiro "Matz" Matsumoto
b3f8f8a5b0
describe call stack overwritten problem of mrb_get_backtrace; close #1661
2014-01-21 17:12:14 +09:00
cremno
aa655b9ee1
remove superfluous includes
...
- reduce compile time by a little bit (full-core: ~0.7s for me)
- thanks to 'include-what-you-use' for some help
- include Standard C header files before any other (coding style)
2014-01-07 17:56:30 +01:00
Yukihiro "Matz" Matsumoto
cff4ac6bb7
skip "trace:" header if no backtrace line exists
2014-01-08 00:49:23 +09:00
Yukihiro "Matz" Matsumoto
fe19ac2bcd
small cosmetic variable renaming
2014-01-06 14:24:33 +09:00
take_cheeze
df780ae5e9
add mrb_intern_lit for creating symbol from string literal
2013-12-01 10:38:59 +09:00
Yukihiro "Matz" Matsumoto
9c6398a444
rename mrb_intern2() to mrb_intern(); huge API incompatibility; close #1513
2013-11-29 08:47:28 +09:00
Yukihiro "Matz" Matsumoto
8954241687
clear ci->err after const set; revert 5b51b1; ref #1583
2013-11-19 09:21:55 +09:00
Yukihiro "Matz" Matsumoto
5b51b119ca
ci->err may be out of boud; close #1583
2013-11-18 22:51:51 +09:00
Yukihiro "Matz" Matsumoto
a7c9a71684
better error position display
2013-10-15 12:49:41 +09:00
Yukihiro "Matz" Matsumoto
3995e7ff8f
rename voidp to cptr
2013-09-21 17:28:47 +09:00
Yukihiro "Matz" Matsumoto
2fe64f24f8
remove Exception#verbose_backtrace; #1495
2013-09-03 15:52:35 +09:00
take_cheeze
bd5afe9eef
rename debug function name
2013-09-02 00:48:07 +09:00
take_cheeze
3d1fffbd6b
support multiple filename in irep
2013-09-02 00:48:06 +09:00
take_cheeze
bc131350d4
print singleton class name in verbose backtrace
2013-09-02 00:48:06 +09:00
take_cheeze
d12b6ab218
add verbose_backtrace
2013-09-02 00:48:06 +09:00
take_cheeze
d19d9bb047
fix crash in 2nd call to vsnprintf
2013-09-02 00:48:05 +09:00
Yukihiro "Matz" Matsumoto
f3c8cf6735
do not use mrb_alloca() that keeps memory until mrb_state freed
2013-08-26 16:33:27 +09:00
Yukihiro "Matz" Matsumoto
f18837886c
add cast to void*
2013-08-26 16:10:42 +09:00
Yukihiro "Matz" Matsumoto
dd4b7ead7e
undef print_backtrace_i() unless ENABLE_STDIO
2013-08-26 16:00:37 +09:00
wanabe
7007ce7ce0
add Exception#backtrace
2013-08-25 01:18:01 +09:00
Jun Hiroe
883c45b931
Replace mrb_intern() func with mrb_intern2() func or mrb_intern_cstr() func.
2013-07-12 01:00:50 +09:00
Yukihiro "Matz" Matsumoto
6557ee938a
mruby error messages should be directed to stderr
2013-05-26 02:13:02 +09:00
Yukihiro "Matz" Matsumoto
5c0b9b703c
primary mruby fiber implementation
2013-05-20 17:54:07 +09:00
Yukihiro "Matz" Matsumoto
077213c5eb
forgot to add src/backtrace.c
2013-05-13 11:15:08 +09:00