.NET DEBUGGING
OOPSOOADSOLIDDPDSSQLXMLHTMLFAQ
Environment Setup
Source
For Source, Project and Solution Files
Setup #1
Folder
Create Source FolderCMD@ MKDIR C:\Source
MKDIR : Command, Create Folder

C:\Source : Parameter, Source Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

Executable
For Program, Library and Configuration Files
Setup #2
Folder
Create Executable FolderCMD@ MKDIR C:\Executable
MKDIR : Command, Create Folder

C:\Executable : Parameter, Executable Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

Symbol
For Public and Private Symbol Files
Setup #3
Folder
Create Symbol FolderCMD@ MKDIR C:\Symbol
MKDIR : Command, Create Folder

C:\Symbol : Parameter, Symbol Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

Extension
For Debugger Extension Files
Setup #4
Folder
Create Extension FolderCMD@ MKDIR C:\Extension
MKDIR : Command, Create Folder

C:\Extension : Parameter, Extension Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

Dump
For Memory Dump Files
Setup #5
Folder
Create Dump FolderCMD@ MKDIR C:\Dump
MKDIR : Command, Create Folder

C:\Dump : Parameter, Dump Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

Log
For Output Log Files
Setup #6
Folder
Create Log FolderCMD@ MKDIR C:\Log
MKDIR : Command, Create Folder

C:\Log : Parameter, Log Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

Trace
For TTD, Event and other Trace Files
Setup #7
Folder
Create Trace FolderCMD@ MKDIR C:\Trace
MKDIR : Command, Create Folder

C:\Trace : Parameter, Trace Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

Misc
For Miscellaneous Files
Setup #8
Folder
Create Misc FolderCMD@ MKDIR C:\Misc
MKDIR : Command, Create Folder

C:\Misc : Parameter, Misc Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name

_NT_SOURCE_PATH
Path of Source Files
Setup #9
Environment Variable
Create _NT_SOURCE_PATH VariableCMD@ setx.exe /M _NT_SOURCE_PATH C:\Source
setx.exe : Program, Set Environment Variable

/M : Switch, System Wide

_NT_SOURCE_PATH : Parameter, Environment Variable Name

C:\Source : Parameter, Environment Variable Value
Alternatively, RUN@ sysdm.cpl → Advanced → Environment Variables... → New... → Name and Value

_NT_EXECUTABLE_IMAGE_PATH
Path of Executable Files
Setup #10
Environment Variable
Create _NT_EXECUTABLE_IMAGE_PATH VariableCMD@ setx.exe /M _NT_EXECUTABLE_IMAGE_PATH C:\Executable;C:\Symbol
setx.exe : Program, Set Environment Variable

/M : Switch, System Wide

_NT_EXECUTABLE_IMAGE_PATH : Parameter, Environment Variable Name

C:\Executable;C:\Symbol : Parameter, Environment Variable Value
Alternatively, RUN@ sysdm.cpl → Advanced → Environment Variables... → New... → Name and Value

_NT_SYMBOL_PATH
Path of Symbol Files
Setup #11
Environment Variable
Create _NT_SYMBOL_PATH VariableCMD@ setx.exe /M _NT_SYMBOL_PATH srv*C:\Symbol*https://msdl.microsoft.com/download/symbols
setx.exe : Program, Set Environment Variable

/M : Switch, System Wide

_NT_SYMBOL_PATH : Parameter, Environment Variable Name

srv*C:\Symbol*https://msdl.microsoft.com/download/symbols : Parameter, Environment Variable Value

https://msdl.microsoft.com/download/symbols : Microsoft Symbol Store
Alternatively, RUN@ sysdm.cpl → Advanced → Environment Variables... → New... → Name and Value

_NT_DEBUGGER_EXTENSION_PATH
Path of Extension Files
Setup #12
Environment Variable
Create _NT_DEBUGGER_EXTENSION_PATH VariableCMD@ setx.exe /M _NT_DEBUGGER_EXTENSION_PATH C:\Extension
setx.exe : Program, Set Environment Variable

/M : Switch, System Wide

_NT_DEBUGGER_EXTENSION_PATH : Parameter, Environment Variable Name

C:\Extension : Parameter, Environment Variable Value
Alternatively, RUN@ sysdm.cpl → Advanced → Environment Variables... → New... → Name and Value

PATH
Path of Executables
Setup #13
Environment Variable
Modify PATH VariableCMD@ setx.exe /M PATH %PATH%;%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319;%ProgramFiles(x86)%\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8.1 Tools\x64;%ProgramFiles(x86)%\Windows Kits\10\Debuggers\x64
setx.exe : Program, Set Environment Variable

/M : Switch, System Wide

PATH : Parameter, Environment Variable Name

%PATH%;%SystemRoot%\Microsoft.NET\Framework64\v4.0.30319;%ProgramFiles(x86)%\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8.1 Tools\x64;%ProgramFiles(x86)%\Windows Kits\10\Debuggers\x64 : Parameter, Environment Variable Value

%PATH% : PATH Environment Variable

%SystemRoot% : SystemRoot Environment Variable

%ProgramFiles(x86)% : ProgramFiles(x86) Environment Variable
Alternatively, RUN@ sysdm.cpl → Advanced → Environment Variables... → Path → Edit... → New → Value

Internet Information Services
To Install and Turn On Windows Web Server
Setup #14
Windows Features
Enable IISCMD@ dism.exe /Online /Enable-Feature /FeatureName:IIS-WebServer /All
dism.exe : Program, Dism Image Servicing Utility

/Online : Switch, Running OS

/Enable-Feature : Switch, Feature Enable

/FeatureName : Switch, Feature Name

IIS-WebServer : Parameter, Feature Name

/All : Switch, All Feature
Alternatively, RUN@ appwiz.cpl → Turn Windows features on or off → Internet Information Services

APP
Application

COM
Commercial

CPL
Control Panel

DISM
Deployment Image Servicing and Management

DM
Device Manager

EXE
Executable

HTTPS
Hypertext Transfer Protocol Secure

IIS
Internet Information Services

MISC
Miscellaneous

MKDIR
Make Directory

MSDL
Microsoft Download Library

NETFX
.NET Framework

NT
New Technology

OS
Operating System

SDK
Software Development Kit

SRV
Server

SYS
System

TTD
Time Travel Debugging

WIZ
Wizard

x86
32-Bit CPU Architecture

x64
64-Bit CPU Architecture