core/debug.c File Reference


Detailed Description

Id
debug.c 1182 2008-12-22 22:08:36Z dchassin
Copyright (C) 2008 Battelle Memorial Institute

Author:
David P. Chassin

Definition in file debug.c.

Go to the source code of this file.

Typedefs

typedef struct s_breakpoint BREAKPOINT
 the structure for a breakpoint entry
typedef struct s_watchpoint WATCHPOINT
 the structure for a watchpoint entry

Functions

int exec_debug (struct sync_data *data, int pass, int index, OBJECT *obj)
 This is the main debugger processing loop.
DEBUGCMD exec_debug_cmd (struct sync_data *data, int pass, int index, OBJECT *obj)
 flag whether commands are being read from a script file (see load_fp)
void exec_sighandler (int sig)
 The exec_sighandler() function is called whenever a SIGINT signal is caught by the main application.

Variables

FILE * load_fp
 the file from which commands are read (see script)
int stop_now = 0
 flag indicating that main loop needs to be step (and debugger activated if allowed)


GridLAB-DTM Version 2.0
An open-source project initiated by the US Department of Energy