diff --git a/tools/main.c b/tools/main.c index 056186f6..103a3a82 100644 --- a/tools/main.c +++ b/tools/main.c @@ -50,6 +50,10 @@ repl(pic_state *pic) while (1) { prompt = code[0] == '\0' ? "> " : "* "; +#if DEBUG + printf("[current ai = %d]\n", ai); +#endif + #if PIC_ENABLE_READLINE read_line = readline(prompt); if (read_line == NULL) {