00001 /* 00002 * debugmsg.h: debugging messages 00003 * 00004 * Copyright (C) 2002 The Exult Team 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License as published by 00008 * the Free Software Foundation; either version 2 of the License, or 00009 * (at your option) any later version. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00019 */ 00020 00021 #ifndef _DEBUGMSG_H 00022 #define _DEBUGMSG_H 00023 00024 namespace Exult_server 00025 { 00026 00027 enum Debug_msg_type 00028 { 00029 // c->s = client to server, s->c = server to client, * = both ways 00030 00031 dbg_continue = 0, // (c->s) continue running 00032 dbg_stepinto = 1, // (c->s) step (into calls) 00033 dbg_stepover = 2, // (c->s) step (over calls) 00034 dbg_finish = 3, // (c->s) finish current function 00035 dbg_break = 4, // (c->s) break imediately 00036 dbg_on_breakpoint = 5, // (s->c) hit a breakpoint 00037 dbg_get_callstack = 6, // (c->s) request callstack 00038 dbg_callstack = 7, // (s->c) sending callstack 00039 dbg_stackframe = 8, // (s->c) sending stack frame 00040 dbg_get_stack = 9, // (c->s) request (data) stack 00041 dbg_stack = 10, // (s->c) sending stack 00042 dbg_continuing = 11, // (s->c) continuing from breakpoint 00043 dbg_get_status = 12, // (c->s) request status (breakpoint/running) 00044 dbg_set_location_bp = 13,// ( * ) set a breakpoint at a specific location 00045 dbg_clear_breakpoint= 14,// ( * ) clear a breakpoint 00046 dbg_get_breakpoints = 15 // (c->s) request all (permanent) breakpoints 00047 }; 00048 00049 } 00050 #endif
1.5.1