Package: IDbgpExtendedCommands

IDbgpExtendedCommands

Coverage

1: /*
2: * #%~
3: * org.overture.ide.debug
4: * %%
5: * Copyright (C) 2008 - 2014 Overture
6: * %%
7: * This program is free software: you can redistribute it and/or modify
8: * it under the terms of the GNU General Public License as
9: * published by the Free Software Foundation, either version 3 of the
10: * License, or (at your option) any later version.
11: *
12: * This program is distributed in the hope that it will be useful,
13: * but WITHOUT ANY WARRANTY; without even the implied warranty of
14: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15: * GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public
18: * License along with this program. If not, see
19: * <http://www.gnu.org/licenses/gpl-3.0.html>.
20: * #~%
21: */
22: package org.overture.ide.debug.core.dbgp.commands;
23:
24: import org.overture.ide.debug.core.dbgp.IDbgpProperty;
25: import org.overture.ide.debug.core.dbgp.exceptions.DbgpException;
26:
27: public interface IDbgpExtendedCommands
28: {
29:         int DISABLE = 0;
30:
31:         int REDIRECT = 1;
32:
33:         String BREAK_COMMAND = "break"; //$NON-NLS-1$
34:
35:         String STDIN_COMMAND = "stdin"; //$NON-NLS-1$
36:
37:         String EVAL_COMMAND = "eval"; //$NON-NLS-1$
38:
39:         String EXEC_COMMAND = "exec"; //$NON-NLS-1$
40:
41:         String EXPR_COMMAND = "expr"; //$NON-NLS-1$
42:
43:         boolean configureStdin(int value) throws DbgpException;
44:
45:         boolean sendStdin(String data) throws DbgpException;
46:
47:         boolean makeBreak() throws DbgpException;
48:
49:         IDbgpProperty evaluate(String snippet) throws DbgpException;
50:
51:         IDbgpProperty execute(String code) throws DbgpException;
52: }