Attaching a debugger to Landis-ii extension 1) go-to: Debug->projName Properties->Debug: a) Change the 'Start action' to: Start External Program: C:\WIndows\System32\cmd.exe b) Change the 'Start Options': Working directory: C:\Program Files\LANDIS-II\examples 2) Add System.Diagnostics.Debugger.Launch() function call to where you want to debug from. I chose the beginning PlugIn.Initialize() since that is where the issue starts in my case. 3) Build project normally (shortcut: F6) 4a) copy src\bin\Debug\extension.dll -> C:\Program Files\LANDIS-II\v6\bin\extensions 4b) copy src\bin\Debug\extension.pdb -> C:\Program Files\LANDIS-II\v6\bin\extensions 5) Run the debugger (shortcut: F5): A command line should appear: a) navigate to the example you want to test then run: call landis-ii scenario.txt (or: simplebatchfile if applicable) b) The program will run normally until the System.Diagnostics.Debugger.Launch() is called a pop-up box will appear: DO NOT CLICK on either option. c) In VisualStudio go-to: Debug->Attach to process (shortcut: Ctrl+Alt+P) Search the list of Available Processes: select Landis.Console-6.2exe click Attach Now click on 'Retry' in the pop-up window that appeared in [5b]. You should now be attached with the full power of Visual Studio Debugger :)