Mercurial > octave-nkf
comparison src/ChangeLog @ 7787:6b521b1e3631
Add dbquit and make dbstep compatible. Use parser in debug mode to handle multi-line input
author | David Bateman <dbateman@free.fr> |
---|---|
date | Tue, 13 May 2008 21:12:12 +0200 |
parents | 37ff0c21c17d |
children | 45f5faba05a2 |
comparison
equal
deleted
inserted
replaced
7786:37ff0c21c17d | 7787:6b521b1e3631 |
---|---|
1 2008-05-20 David Bateman <dbateman@free.fr> | |
2 | |
3 * debug.cc (Fdbstop): If no line specified assume line 1. | |
4 (Fdbstep, Fdbcont, Fdbnext): Move debugging functions | |
5 to normal commands. | |
6 (Fdbquit): New command to quit debugging mode and return to the | |
7 prompt. | |
8 (Fdbstep): Modify the dbstep command for compatibility. | |
9 * input.cc (Vdebugging_current_line): Store current line being | |
10 debugged for use in DEFCMD versions of debug commands. | |
11 (match_sans_spaces_semi): Delete. | |
12 (static void get_debug_input (const std;string&)): New function to | |
13 parse input in debug mode using standard Octave parser. | |
14 (static octave_value_list get_user_input (const | |
15 octave_value_list&, int)): Remove debugging specialization. | |
16 * input.h (Vdebugging_current_line): Store current line being | |
17 debugged for use in DEFCMD versions of debug commands. | |
18 * parse.y (make_return_command): Special handling in debug mode. | |
19 * pt-bp.h (MAYBE_DO_BREAKPOINT): Support break in n lines needed | |
20 to support "dbstep N". | |
21 * pt.cc (tree::break_next): Convert to a down counter to support | |
22 break in N lines. Breakpoint occure when tree::break_next is zero. | |
23 * toplev.cc (octave_user_script * | |
24 octave_call_stack::do_caller_user_script (difference_type) const): | |
25 Support skipping the first N functions to support "dbstep out". | |
26 (octave_user_function * octave_call_stack::do_caller_user_function | |
27 (difference_type) const): Ditto. | |
28 (octave_user_code * octave_call_stack::do_caller_user_code | |
29 (difference_type) const): Ditto. | |
30 * toplev.h (octave_user_script * | |
31 octave_call_stack::do_caller_user_script (difference_type) const): | |
32 Add difference_type argument. | |
33 (octave_user_function * octave_call_stack::do_caller_user_function | |
34 (difference_type) const): Ditto. | |
35 (octave_user_code * octave_call_stack::do_caller_user_code | |
36 (difference_type) const): Ditto. | |
37 (static octave_user_script *caller_script (difference_type)): | |
38 Ditto. | |
39 (static octave_user_function *caller_user_function | |
40 (difference_type q)): Ditto. | |
41 (static octave_user_code *caller_user_code (difference_type q)): | |
42 Ditto. | |
43 | |
1 2008-05-20 Kim Hansen <kimhanse@gmail.com> | 44 2008-05-20 Kim Hansen <kimhanse@gmail.com> |
2 | 45 |
3 * load-path.cc (load_path::do_initialize): | 46 * load-path.cc (load_path::do_initialize): |
4 Include separator when appending sys_path. | 47 Include separator when appending sys_path. |
5 | 48 |