Package: DBGPFeatures

DBGPFeatures

nameinstructionbranchcomplexitylinemethod
DBGPFeatures()
M: 84 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 18 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*******************************************************************************
2: *
3: *        Copyright (c) 2009 Fujitsu Services Ltd.
4: *
5: *        Author: Nick Battle
6: *
7: *        This file is part of VDMJ.
8: *
9: *        VDMJ is free software: you can redistribute it and/or modify
10: *        it under the terms of the GNU General Public License as published by
11: *        the Free Software Foundation, either version 3 of the License, or
12: *        (at your option) any later version.
13: *
14: *        VDMJ is distributed in the hope that it will be useful,
15: *        but WITHOUT ANY WARRANTY; without even the implied warranty of
16: *        MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17: *        GNU General Public License for more details.
18: *
19: *        You should have received a copy of the GNU General Public License
20: *        along with VDMJ. If not, see <http://www.gnu.org/licenses/>.
21: *
22: ******************************************************************************/
23:
24: package org.overture.interpreter.debug;
25:
26: import java.util.Properties;
27:
28: import org.overture.config.Settings;
29:
30: @SuppressWarnings("serial")
31: public class DBGPFeatures extends Properties
32: {
33:         public static final String MAX_CHILDREN = "max_children";
34:         public static final String LANGUAGE_NAME = "language_name";
35:         public static final String PROTOCOL_VERSION = "protocol_version";
36:
37:         public DBGPFeatures()
38:         {
39:                 setProperty("lanuage_supports_threads", "1");
40:                 setProperty(LANGUAGE_NAME, Settings.dialect.name());
41:                 setProperty("language_version", "1");
42:                 setProperty("encoding", "UTF-8");
43:                 setProperty(PROTOCOL_VERSION, "1");
44:                 setProperty("supports_async", "0");
45:                 setProperty("data_encoding", "base64");
46:                 setProperty("breakpoint_languages", "");
47:                 setProperty("breakpoint_types", "line conditional");
48:                 setProperty("multiple_sessions", "1");
49:                 setProperty(MAX_CHILDREN, "10");
50:                 setProperty("max_data", "1000");
51:                 setProperty("max_depth", "10");
52:                 setProperty("supports_postmortem", "0");
53:                 setProperty("show_hidden", "0");
54:                 setProperty("notify_ok", "0");
55:         }
56: }