summaryrefslogtreecommitdiffstats
path: root/src/debugger.c
AgeCommit message (Collapse)Author
2023-09-24patch 9.0.1930: compiler warnings with clang-17v9.0.1930Dominique Pellé
Problem: compiler warnings with clang-17 Solution: Fix function prototypes and function pointer fix: clang compilation warnings with -Wstrict-prototypes Change fixes this kind of compilation warnings with clang: ``` proto/if_python3.pro:13:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] 13 | int python3_version(); | ^ | void ``` closes: #13166 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Dominique Pellé <dominique.pelle@tomtom.com>
2023-09-02patch 9.0.1842: Need more accurate profilingv9.0.1842Ernie Rael
Problem: Need more accurate profiling Solution: Improve profiling results closes: #12192 Reduce overhead of checking if a function should be profiled, by caching results of checking (which are done with regexp). Cache uf_hash for uf_name in ufunc_T. Cache cleared when regexps are changed. Break at first match for has_profiling lookup. Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ernie Rael <errael@raelity.com>
2023-05-20patch 9.0.1571: RedrawingDisabled not used consistentlyv9.0.1571Bram Moolenaar
Problem: RedrawingDisabled not used consistently. Solution: Avoid RedrawingDisabled going negative. Set RedrawingDisabled in win_split_ins(). (closes #11961)
2023-03-07patch 9.0.1391: "clear" macros are not always usedv9.0.1391Yegappan Lakshmanan
Problem: "clear" macros are not always used. Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more places. (Yegappan Lakshmanan, closes #12104)
2023-02-21patch 9.0.1336: functions without arguments are not always declared properlyv9.0.1336Yegappan Lakshmanan
Problem: Functions without arguments are not always declared properly. Solution: Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
2023-01-09patch 9.0.1166: code is indented more than necessaryv9.0.1166Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11792)
2022-12-26patch 9.0.1098: code uses too much indentv9.0.1098Yegappan Lakshmanan
Problem: Code uses too much indent. Solution: Use an early return. (Yegappan Lakshmanan, closes #11747)
2022-09-20patch 9.0.0513: may not be able to use a pattern ad the debug promptv9.0.0513Bram Moolenaar
Problem: May not be able to use a pattern ad the debug prompt. Solution: Temporarily disable the timeout. (closes #11164)
2022-09-18patch 9.0.0498: various small issuesv9.0.0498Bram Moolenaar
Problem: Various small issues. Solution: Various small fixes.
2022-09-13patch 9.0.0456: function called at debug prompt is also debuggedv9.0.0456Bram Moolenaar
Problem: Function called at debug prompt is also debugged. Solution: Reset the debug level while entering the debug command. (closes #11118)
2022-08-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-05-09patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-03-10patch 8.2.4536: debugger test fails when breaking on expressionv8.2.4536Bram Moolenaar
Problem: Debugger test fails when breaking on expression. Solution: Compare strings with "==" instead of "is".
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-31patch 8.2.3955: error messages are spread outv8.2.3955Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-10-02patch 8.2.3460: some type casts are not neededv8.2.3460=?UTF-8?q?Dundar=20G=C3=B6c?=
Problem: Some type casts are not needed. Solution: Remove unnecessary type casts. (closes #8934)
2021-09-09patch 8.2.3419: a failing debug expression may make Vim unusablev8.2.3419Bram Moolenaar
Problem: A failing debug expression may make Vim unusable. Solution: Suppress error messages. (closes #8848)
2021-09-08patch 8.2.3417: Vim9: a failing debug expression aborts script sourcingv8.2.3417Bram Moolenaar
Problem: Vim9: a failing debug expression aborts script sourcing. Solution: Do not let expression failure abort script sourcing. (closes #8848)
2021-09-02patch 8.2.3395: Vim9: expression breakpoint not checked in :def functionv8.2.3395Bram Moolenaar
Problem: Vim9: expression breakpoint not checked in :def function. Solution: Always compile a function for debugging if there is an expression breakpoint. (closes #8803)
2021-07-20patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
2021-06-20patch 8.2.3026: Vim9: cannot set breakpoint in compiled functionv8.2.3026Bram Moolenaar
Problem: Vim9: cannot set breakpoint in compiled function. Solution: Check for breakpoint when calling a function.
2021-06-14patch 8.2.2996: Vim9: when debugging cannot inspect local variablesv8.2.2996Bram Moolenaar
Problem: Vim9: when debugging cannot inspect local variables. Solution: Make local variables available when debugging.
2021-06-07patch 8.2.2961: keys typed during a :normal command are discardedv8.2.2961Bram Moolenaar
Problem: Keys typed during a :normal command are discarded. Solution: Concatenate saved typeahead and typed kesy. (closes #8340)
2021-01-31patch 8.2.2435: setline() gives an error for some typesv8.2.2435Bram Moolenaar
Problem: setline() gives an error for some types. Solution: Allow any type, convert each item to a string.
2021-01-24patch 8.2.2400: Vim9: compiled functions are not profiledv8.2.2400Bram Moolenaar
Problem: Vim9: compiled functions are not profiled. Solution: Add initial changes to profile compiled functions. Fix that a script-local function was hard to debug.
2020-09-10patch 8.2.1653: expand('<stack>') does not include the final line numberv8.2.1653Bram Moolenaar
Problem: Expand('<stack>') does not include the final line number. Solution: Add the line nuber. (closes #6927)
2020-07-26patch 8.2.1297: when a test fails it's often not easy to see wherev8.2.1297Bram Moolenaar
Problem: When a test fails it's often not easy to see what the call stack is. Solution: Add more entries from the call stack in the exception message.
2019-12-31patch 8.2.0069: ETYPE_ is used for two different enumsv8.2.0069Bram Moolenaar
Problem: ETYPE_ is used for two different enums. Solution: Rename one to use EXPR_.
2019-12-29patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar
Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
2019-12-25patch 8.2.0044: expression type is used inconsistentlyv8.2.0044Bram Moolenaar
Problem: Expression type is used inconsistently. Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename "TYPE_" to "ETYPE_" to avoid confusion.
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
2019-04-23patch 8.1.1200: old style comments in debugger sourcev8.1.1200Bram Moolenaar
Problem: Old style comments in debugger source. Solution: Use new style comments. (Yegappan Lakshmanan, closes #4286)
2019-04-21patch 8.1.1195: Vim script debugger functionality needs cleanupv8.1.1195Bram Moolenaar
Problem: Vim script debugger functionality needs cleanup. Solution: Move debugger code to a separate file. Add more tests. (Yegappan Lakshmanan, closes #4285)