diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-10-07 18:51:23 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-10-07 18:51:23 +0100 |
commit | 33b55b562b90e5cc0091fa39d87cd60956c73f57 (patch) | |
tree | d0582cab3707790a681635355b4f579dd9801184 /src/ex_docmd.c | |
parent | 5ab300195b0831cbdba3ce349416a0e6a218e4ef (diff) |
patch 9.0.0688: debugger does not display the whole commandv9.0.0688
Problem: Debugger does not display the whole command.
Solution: Set ea.cmd before checking for a breakpoint.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 3ffbf2b906..8ca5ede46b 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -1889,7 +1889,11 @@ do_one_cmd( } } # endif +#endif + + ea.cmd = cmd; +#ifdef FEAT_EVAL // May go to debug mode. If this happens and the ">quit" debug command is // used, throw an interrupt exception and skip the next command. dbg_check_breakpoint(&ea); @@ -1935,7 +1939,6 @@ do_one_cmd( #endif } - ea.cmd = cmd; if (!may_have_range) ea.line1 = ea.line2 = default_address(&ea); else if (parse_cmd_address(&ea, &errormsg, FALSE) == FAIL) |