Project DescriptionA fully featured visual debugger for MSBuild projects. Supports stepping into task, targets and imported projects, running arbitrary MSBuild projects under debugger and breaking at arbitrary points, setting break points, viewing call stacks and read only views of Items and Properties in break mode. Works well with CallTarget, MSBuild tasks and task/target batching. Tested on on out-of-box VS2008 projects and the (super-complex) Microsoft Developer Division MSBuild based builds.
Getting started
- Head over to http://blogs.msdn.com/parthopdasto see screen shots
- Download the v1.alpha release & place MSBuildDebugger.exe and MSBuildDebugger.exe.config on your machine
- Launch the MSBuildDebugger.exe and open a project
- Use the following command & shortcut keys
- Ctrl.Shift.O - Open a project to debug
- Ctrl.O - Open an imported project or targets files to set break point
- F5 - Run the project under debugger
- F11 - Step into tasks, targets and imported projects
- F9 - Set break points on tasks and targets
Release Notes
- Study the v1 feature set, v1 known issues and proposed v2 feature list in the sections below
- For now play with the binaries and send me feedback at p a r t h a d @ m i c r o s o f t . c o m. Tell me about:
- What features you want to see in v1
- Bugs: hangs, crashes and irritations
- Whether you think this is usefull or not
- Source code will be released for community contribution/development with final v1 release (very soon)
v1 Release feature set
- Project system
- Open project
- Open files
- Ctrl.F support in editor
- F1 opens up help
- Environment
- View the environment variables passed to MSBuild
- Reset the environment variable passed to msbuild
- Stepping
- F11
- F5
- Break Execution
- Current point of execution shown in yellow
- Setp into Imported projects
- Break Points
- BP Window
- double click take you to location
- BP highlighted in red
- F9
- F5 breaks on BP
- Delete break points
- Call stack
- view current call stack, usefull for CallTarget and MSBuild tasks
- BP set on project
- Debugger steps on project
- double click take you to the stack frame
- Output window
- Trace of what is going on
- Debugger messages (e.g. bp hit)
- State View
- RO properties view
- RO items view
- Verification
- Can handle CallTarget, MSBuild, task & target batching
- Debug OOB VS Projects
- Debug DevDi* projects
- Requires only .NET Framework 3.5 RTM (no VS2008 requried)
Known Issues in v1
- Not a very jazzy UI
- Stepping is done twice for empty XML nodes
- F10 and Shift-F11 not supported yet
- Cannot close project or files once they are opened
- Random F9 behavior in remote corner cases
- Random F11 behavior in remote corner cases
vNext wish list
- Fix known issues
- Jazzy WPF based shell (simillar to graphical PowerShell v2.0)
- Make UI consistent with VS Debugger
- Re-org and rewrite some selected parts of the code
- Command Line version of the debugger
- Visual Studio integration
- Data break points
- Properties and Items View improvements (make it RW, highlight changed ones, etc.)
- Enable multiproc support- perf
- Analyzer (Imported projects and Executable nodes views)
|