view d.h @ 0:e0bbaa717f41 draft default tip

lol J
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Mon, 25 Nov 2013 11:56:30 -0500
parents
children
line wrap: on
line source

/* Copyright 1990-2011, Jsoftware Inc.  All rights reserved. */
/* License in license.txt.                                   */
/*                                                                         */
/* Debug                                                                   */


/* jt->db and jt->dbuser values; 0 means no debug                           */

#define DB1         1       /* full debug                                   */
#define DBERRCAP    2       /* stack error info capture                     */
#define DBTRY       3       /* full debug & try/catch in effect (db only)   */


/* jt->dbsusact values:                                                     */

#define SUSCONT     0       /* continue current suspension                  */
#define SUSCLEAR    1       /* clear stack                                  */
#define SUSRUN      2       /* run again                                    */
#define SUSRET      3       /* return result                                */
#define SUSJUMP     4       /* jump to specified line                       */
#define SUSNEXT     5       /* run next line                                */
#define SUSSS       6       /* single step mode                             */


/* si->dcss values; 0 means not single step                                 */

#define SSCUTBACK   19      /* cut back one step level                      */
#define SSSTEPOVER  20      /* run curr line; stop at next line in curr fn  */
#define SSSTEPINTO  21      /* run curr line; stop at next line             */
#define SSSTEPOUT   22      /* run curr fn to end; stop at next line        */
#define SSSTEPOVERs 30
#define SSSTEPINTOs 31


extern B        jtdbstop(J,DC,I);
extern DC       jtssnext(J,DC,C);
extern I        lnumcw(I,A);
extern I        lnumsi(DC);