Commit 38749fae984157c12f70317aaf6fe9c35110232b

jeremy 2024-11-28T18:39:08

env_eval_call_fn_args

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/libkc3/env.c b/libkc3/env.c
index 3a1c7f3..a48dd1d 100644
--- a/libkc3/env.c
+++ b/libkc3/env.c
@@ -789,6 +789,9 @@ bool env_eval_call_fn_args (s_env *env, const s_fn *fn,
       err_puts("\nArguments :\n");
       err_inspect_fn_pattern(args);
       err_write_1("\n");
+      err_puts("stacktrace:");
+      err_inspect_stacktrace(g_kc3_env.stacktrace);
+      err_write_1("\n");
       list_delete_all(args);
       list_delete_all(env->search_modules);
       env->search_modules = search_modules;