To: vim_dev@googlegroups.com Subject: Patch 8.2.4536 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4536 (after 8.2.4534) Problem: Debugger test fails when breaking on expression. Solution: Compare strings with "==" instead of "is". Files: src/debugger.c *** ../vim-8.2.4535/src/debugger.c 2021-12-31 22:48:56.575368905 +0000 --- src/debugger.c 2022-03-10 13:26:11.684724988 +0000 *************** *** 989,995 **** } else { ! if (typval_compare(tv, bp->dbg_val, EXPR_IS, FALSE) == OK && tv->vval.v_number == FALSE) { typval_T *v; --- 989,1000 ---- } else { ! // Use "==" instead of "is" for strings, that is what we ! // always have done. ! exprtype_T type = tv->v_type == VAR_STRING ! ? EXPR_EQUAL : EXPR_IS; ! ! if (typval_compare(tv, bp->dbg_val, type, FALSE) == OK && tv->vval.v_number == FALSE) { typval_T *v; *** ../vim-8.2.4535/src/version.c 2022-03-10 12:23:59.410154437 +0000 --- src/version.c 2022-03-10 13:23:52.369061103 +0000 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 4536, /**/ -- hundred-and-one symptoms of being an internet addict: 221. Your wife melts your keyboard in the oven. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///