[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Changeset] Re: Q: Low hanging fruit?
From: |
David Bateman |
Subject: |
Re: [Changeset] Re: Q: Low hanging fruit? |
Date: |
Tue, 13 May 2008 23:04:24 +0200 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080306) |
David Bateman wrote:
> Ok then what about the attached instead. It moves
>
> * dbcont, dbnext, dbstep functions to DEFCMD's
> * adds the dbquit function
> * modifies the dbstep command to be compatible
> * splits get_user_input into two versions, with the debug version using
> the standard parser and thus allowing multi-line input and things like
> "x = 1; return" in the debug mode to work.
> * Makes the quit, exit commands at the debug prompt quit Octave in the
> same manner as in Matlab.
> * Updates the debug.txi file.
>
> Making the debug mode accept multi-line input was much easier than I
> thought it would be. I've tested this a little, but a little more
> testing might be a good thing.
>
Please also apply the attached trivial patch after applying the original
patch. It gets rid of a temporary external variable I introduced but
didn't use in the final version.
D.
# HG changeset patch
# User David Bateman <address@hidden>
# Date 1210712517 -7200
# Node ID 80c6707d0a901822ce4396d006cb35c57714de82
# Parent c695eae655efeda36ea8cc864f5391cef4eb1f33
Remove unused variable from previous debug patch
diff --git a/src/input.h b/src/input.h
--- a/src/input.h
+++ b/src/input.h
@@ -91,9 +91,6 @@ extern OCTINTERP_API bool Vdrawnow_reque
// TRUE if we are in debugging mode.
extern bool Vdebugging;
-// TRUE if we are returning from debugging mode.
-extern bool Vdebugging_return;
-
// The current line that we are debugging
extern int Vdebugging_current_line;
- Re: Q: Low hanging fruit?, Bill Denney, 2008/05/07
- Re: Q: Low hanging fruit?, David Bateman, 2008/05/08
- Re: Q: Low hanging fruit?, Bill Denney, 2008/05/08
- [Changeset] Re: Q: Low hanging fruit?, David Bateman, 2008/05/09
- [Changeset] Re: Q: Low hanging fruit?, John W. Eaton, 2008/05/12
- Re: [Changeset] Re: Q: Low hanging fruit?, David Bateman, 2008/05/13
- Re: [Changeset] Re: Q: Low hanging fruit?, David Bateman, 2008/05/13
- Re: [Changeset] Re: Q: Low hanging fruit?,
David Bateman <=
- Re: [Changeset] Re: Q: Low hanging fruit?, John W. Eaton, 2008/05/20
- Re: Q: Low hanging fruit?, John W. Eaton, 2008/05/09
- Re: Q: Low hanging fruit?, David Bateman, 2008/05/09