1 //////////////////////////////////////////////////////////////////////////
2 //
3 // pgAdmin III - PostgreSQL Tools
4 //
5 // Copyright (C) 2002 - 2016, The pgAdmin Development Team
6 // This software is released under the PostgreSQL Licence
7 //
8 // dbgConst.h - debugger
9 //
10 //////////////////////////////////////////////////////////////////////////
11 
12 ////////////////////////////////////////////////////////////////////////////////
13 //
14 // Constants and enumerator Identifiers for the entire debugger
15 //
16 ////////////////////////////////////////////////////////////////////////////////
17 
18 #ifndef DBGCONST_H
19 #define DBGCONST_H
20 
21 const int      ID_BTNNEXT     = 1800;
22 const int      ID_GRDFUNCARGS = 1810;
23 const int      ID_TXTMESSAGE  = 1820;
24 const int      ID_TIMER       = 1830;
25 const int      ID_BTNCANCEL   = 1840;
26 
27 const int      ID_PARAMGRID   = 1000;
28 const int      ID_VARGRID     = 1001;
29 const int      ID_MSG_PAGE    = 1002;
30 const int      ID_PKGVARGRID  = 1003;
31 
32 enum
33 {
34 	MENU_ID_EXECUTE = 10001,            // Execute command entered by user
35 
36 	MENU_ID_TOGGLE_BREAK,               // Set/Unset breakpoint
37 	MENU_ID_CLEAR_ALL_BREAK,            // Clear all breakpoints
38 	MENU_ID_CONTINUE,                   // Continue
39 	MENU_ID_STEP_OVER,                  // Step over
40 	MENU_ID_STEP_INTO,                  // Step into
41 	MENU_ID_STOP,                       // Stop debugging
42 
43 	MENU_ID_START_DEBUGGING,            // Spawn a separate debugger process
44 	MENU_ID_NOTICE_RECEIVED,            // NOTICE received from server
45 	WINDOW_ID_STACK,                    // Tree-control window
46 	WINDOW_ID_CONSOLE,                  // Console window
47 	WINDOW_ID_TABS,                     // Tab window
48 	WINDOW_ID_BREAKPOINTS,              // Breakpoints window
49 	WINDOW_ID_RESULT_GRID,              // Results window
50 	WINDOW_ID_COMMAND,                  // Command window
51 	SOCKET_ID_DEBUG,                    // Debugger Socket ID
52 
53 	MENU_ID_VIEW_TOOLBAR,               // View menu options
54 	MENU_ID_VIEW_STACKPANE,
55 	MENU_ID_VIEW_OUTPUTPANE,
56 	MENU_ID_VIEW_DEFAULTVIEW,
57 
58 	RESULT_ID_ATTACH_TO_PORT,           // Debugger - attach to port completed
59 	RESULT_ID_BREAKPOINT,               // Debugger - breakpoint reached
60 	RESULT_ID_GET_VARS,                 // Debugger - variable list complete
61 	RESULT_ID_GET_STACK,                // Debugger - stack trace complete
62 	RESULT_ID_GET_BREAKPOINTS,          // Debugger - breakpoint list complete
63 	RESULT_ID_NEW_BREAKPOINT,           // Debugger - set breakpoint complete
64 	RESULT_ID_NEW_BREAKPOINT_WAIT,      // Debugger - set breakpoint complete, wait for target progress
65 	RESULT_ID_DEL_BREAKPOINT,           // Debugger - drop breakpoint complete
66 	RESULT_ID_DEPOSIT_VALUE,            // Debugger - deposit value complete
67 	RESULT_ID_ADD_BREAKPOINT,           // Debugger - target info received, now set a breakpoint
68 	RESULT_ID_LISTENER_CREATED,         // Debugger - global listener created
69 	RESULT_ID_TARGET_READY,             // Debugger - target session attached
70 	RESULT_ID_LAST_BREAKPOINT,          // Debugger - last breakpoint created
71 	RESULT_ID_ARGS_UPDATED,             // Debugger - Values are evaluated and been updated in the arguments
72 	RESULT_ID_ARGS_UPDATE_ERROR,        // Debugger - Error while evaluateling the value for the arguments
73 
74 	RESULT_ID_DIRECT_TARGET_COMPLETE,   // DirectDebug - target function complete
75 
76 	ID_DEBUG_INITIALIZER               // Debugger - debug package initializer? checkbox
77 
78 };
79 
80 #endif
81