diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-05 12:38:38 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2017-04-05 12:38:38 +0900 |
| commit | 7f37c2fc57f7126b856265d9189fb91f2263eeb8 (patch) | |
| tree | 3c3b0aa4df2262c178d31997db114051ac816ee6 /src/vm.c | |
| parent | 74712c73ac9471fd388d76b0f12229ec428d5146 (diff) | |
| download | mruby-7f37c2fc57f7126b856265d9189fb91f2263eeb8.tar.gz mruby-7f37c2fc57f7126b856265d9189fb91f2263eeb8.zip | |
Use stderr for debug prints in DEBUG(); fix #3584
Diffstat (limited to 'src/vm.c')
| -rw-r--r-- | src/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1809,7 +1809,7 @@ RETRY_TRY_BLOCK: return v; } pc = ci->pc; - DEBUG(printf("from :%s\n", mrb_sym2name(mrb, ci->mid))); + DEBUG(fprintf(stderr, "from :%s\n", mrb_sym2name(mrb, ci->mid))); proc = mrb->c->ci->proc; irep = proc->body.irep; pool = irep->pool; |
