annotate src/proto/debugger.pro @ 33613:31fb1a760ad6 v9.0.2050

patch 9.0.2050: Vim9: crash with deferred function call and exception Commit: https://github.com/vim/vim/commit/c59c1e0d88651a71ece7366e418f1253abbe2a28 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Thu Oct 19 10:52:34 2023 +0200 patch 9.0.2050: Vim9: crash with deferred function call and exception Problem: Vim9: crash with deferred function call and exception Solution: Save and restore exception state Crash when a deferred function is called after an exception and another exception is thrown closes: #13376 closes: #13377 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
author Christian Brabandt <cb@256bit.org>
date Thu, 19 Oct 2023 11:00:07 +0200
parents bede81965821
children 19cdfe768104
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
16381
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
1 /* debugger.c */
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
2 int has_watchexpr(void);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
3 void do_debug(char_u *cmd);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
4 void ex_debug(exarg_T *eap);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
5 void dbg_check_breakpoint(exarg_T *eap);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
6 int dbg_check_skipped(exarg_T *eap);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
7 void ex_breakadd(exarg_T *eap);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
8 void ex_debuggreedy(exarg_T *eap);
25719
154663508d9b patch 8.2.3395: Vim9: expression breakpoint not checked in :def function
Bram Moolenaar <Bram@vim.org>
parents: 16381
diff changeset
9 int debug_has_expr_breakpoint(void);
16381
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
10 void ex_breakdel(exarg_T *eap);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
11 void ex_breaklist(exarg_T *eap);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
12 linenr_T dbg_find_breakpoint(int file, char_u *fname, linenr_T after);
33119
bede81965821 patch 9.0.1842: Need more accurate profiling
Christian Brabandt <cb@256bit.org>
parents: 25719
diff changeset
13 int has_profiling(int file, char_u *fname, int *fp, hash_T *hash);
16381
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
14 void dbg_breakpoint(char_u *name, linenr_T lnum);
1dcbaa780b8e patch 8.1.1195: Vim script debugger functionality needs cleanup
Bram Moolenaar <Bram@vim.org>
parents:
diff changeset
15 /* vim: set ft=c : */