1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/* ------------------------------------------------------------------------- *
* cordbpriv.h -- header file for private Debugger data shared by various
* Runtime components.
* ------------------------------------------------------------------------- */
#ifndef _cordbpriv_h_
#define _cordbpriv_h_
#include "corhdr.h"
#include <unknwn.h>
//
// Initial value for EnC versions
//
#define CorDB_DEFAULT_ENC_FUNCTION_VERSION 1
#define CorDB_UNKNOWN_ENC_FUNCTION_VERSION ((SIZE_T)(-1))
enum DebuggerLaunchSetting
{
DLS_ASK_USER = 0,
DLS_ATTACH_DEBUGGER = 1
};
//
// Flags used to control the Runtime's debugging modes. These indicate to
// the Runtime that it needs to load the Runtime Controller, track data
// during JIT's, etc.
//
enum DebuggerControlFlag
{
DBCF_NORMAL_OPERATION = 0x0000,
DBCF_USER_MASK = 0x00FF,
DBCF_GENERATE_DEBUG_CODE = 0x0001,
DBCF_ALLOW_JIT_OPT = 0x0008,
DBCF_PROFILER_ENABLED = 0x0020,
// DBCF_ACTIVATE_REMOTE_DEBUGGING = 0x0040, Deprecated. DO NOT USE
DBCF_INTERNAL_MASK = 0xFF00,
DBCF_PENDING_ATTACH = 0x0100,
DBCF_ATTACHED = 0x0200,
DBCF_FIBERMODE = 0x0400
};
//
// Flags used to control the debuggable state of modules and
// assemblies.
//
enum DebuggerAssemblyControlFlags
{
DACF_NONE = 0x00,
DACF_USER_OVERRIDE = 0x01,
DACF_ALLOW_JIT_OPTS = 0x02,
DACF_OBSOLETE_TRACK_JIT_INFO = 0x04, // obsolete in V2.0, we're always tracking.
DACF_ENC_ENABLED = 0x08,
DACF_IGNORE_PDBS = 0x20,
DACF_CONTROL_FLAGS_MASK = 0x2F,
DACF_PDBS_COPIED = 0x10,
DACF_MISC_FLAGS_MASK = 0x10,
};
#endif /* _cordbpriv_h_ */
|