.NET DEBUGGING
OOPSOOADSOLIDDPDSSQLXMLFAQ
Module 4 - Lab Setup
Source
To Store Source, Project and Solution Files
Setup #1
Folder
Create Source FolderCMD@ MKDIR C:\Source
MKDIR : Command, To Create Folder

C:\Source : Parameter, Source Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
Executable
To Store Program, Library and Configuration Files
Setup #2
Folder
Create Executable FolderCMD@ MKDIR C:\Executable
MKDIR : Command, To Create Folder

C:\Executable : Parameter, Executable Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
Symbol
To Store Public and Private Symbol Files
Setup #3
Folder
Create Symbol FolderCMD@ MKDIR C:\Symbol
MKDIR : Command, To Create Folder

C:\Symbol : Parameter, Symbol Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
Extension
To Store Debugger Extension Files
Setup #4
Folder
Create Extension FolderCMD@ MKDIR C:\Extension
MKDIR : Command, To Create Folder

C:\Extension : Parameter, Extension Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
Dump
To Store Memory Dump Files
Setup #5
Folder
Create Dump FolderCMD@ MKDIR C:\Dump
MKDIR : Command, To Create Folder

C:\Dump : Parameter, Dump Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
Log
To Store Output Log Files
Setup #6
Folder
Create Log FolderCMD@ MKDIR C:\Log
MKDIR : Command, To Create Folder

C:\Log : Parameter, Log Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
Trace
To Store TTD, Event and other Trace Files
Setup #7
Folder
Create Trace FolderCMD@ MKDIR C:\Trace
MKDIR : Command, To Create Folder

C:\Trace : Parameter, Trace Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
Misc
To Store Miscellaneous and other Files
Setup #8
Folder
Create Misc FolderCMD@ MKDIR C:\Misc
MKDIR : Command, To Create Folder

C:\Misc : Parameter, Misc Folder Name
Alternatively, RUN@ C: → New Folder (Ctrl+Shift+N) → Name
_NT_SOURCE_PATH
To Specify Path of Source Files
Setup #9
Environment Variable
Create _NT_SOURCE_PATH VariableCMD@ setx.exe /M _NT_SOURCE_PATH C:\Source
setx.exe : Program, Sets Environment Variable

/M : Switch, Specifies 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
To Specify 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, Sets Environment Variable

/M : Switch, Specifies 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
To Specify 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, Sets Environment Variable

/M : Switch, Specifies 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
To Specify 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, Sets Environment Variable

/M : Switch, Specifies 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
To Locate 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, Sets Environment Variable

/M : Switch, Specifies 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% : Expands PATH Variable

%SystemRoot% : Expands SystemRoot Variable

%ProgramFiles(x86)% : Expands ProgramFiles(x86) 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, Specifies Running OS

/Enable-Feature : Switch, Specifies Feature Enable

/FeatureName : Switch, Specifies Feature Name

IIS-WebServer : Parameter, Feature Name

/All : Switch, Specifies 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