mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.0.1505: debugger can't break on a condition
Problem: Debugger can't break on a condition. (Charles Campbell) Solution: Add ":breakadd expr". (Christian Brabandt, closes #859)
This commit is contained in:
@@ -1174,6 +1174,13 @@ do_cmdline(
|
||||
}
|
||||
}
|
||||
|
||||
/* Check for the next breakpoint after a watchexpression */
|
||||
if (breakpoint != NULL && has_watchexpr())
|
||||
{
|
||||
*breakpoint = dbg_find_breakpoint(FALSE, fname, sourcing_lnum);
|
||||
*dbg_tick = debug_tick;
|
||||
}
|
||||
|
||||
/*
|
||||
* When not inside any ":while" loop, clear remembered lines.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user