Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
developer:debugging [2011/05/23 04:58]
Stonepaw created
developer:debugging [2015/12/30 16:04] (current)
Line 1: Line 1:
 ====== Debugging scripts with Visual Studio ====== ====== Debugging scripts with Visual Studio ======
  
-This guide is written using [[http://​www.microsoft.com/​downloads/​en/​details.aspx?​FamilyID=8e5aa7b6-8436-43f0-b778-00c3bca733d3&​displaylang=en|Microsoft Visual Studio 2010 Shell (Integrated)]] with the [[http://www.ironpython.net/tools/|IronPython ​tools]] ​(part of IronPython 2.7). Both are free.+This guide is written using [[http://​www.microsoft.com/​downloads/​en/​details.aspx?​FamilyID=8e5aa7b6-8436-43f0-b778-00c3bca733d3&​displaylang=en|Microsoft Visual Studio 2010 Shell (Integrated)]] with [[http://pytools.codeplex.com/|Python ​tools for Visual Studio]]. Both are free.
  
 ===== ComicRack setup ===== ===== ComicRack setup =====
Line 15: Line 15:
   PythonDebug = true   PythonDebug = true
  
-Alliteratively ​create a ComicRack.ini file in %PROGRAMDATA%\cyo\comicrack or %APPDATA%\cyo\comicrack with the line:+Alternatively ​create a ComicRack.ini file in %PROGRAMDATA%\cyo\comicrack or %APPDATA%\cyo\comicrack with the line:
  
   PythonDebug = true   PythonDebug = true
  
-This had the advantage of not being reset every time a new version of ComicRack is installed.+This has the advantage of not being reset every time a new version of ComicRack is installed.
  
 ===== Visual Studio setup ===== ===== Visual Studio setup =====
Line 43: Line 43:
 When the script reaches a breakpoint the script will pause and ComicRack will switch to Visual Studio: When the script reaches a breakpoint the script will pause and ComicRack will switch to Visual Studio:
  
-{{ http://i56.tinypic.com/​2yuklk5.jpg }}+{{ http://i51.tinypic.com/​nq2yrs.jpg }}
  
 From here you can advance the script using the Debug Toolbar (1) and inspect the current variables (2). From here you can advance the script using the Debug Toolbar (1) and inspect the current variables (2).

Navigation