| « Unit-testing .Net code with IronRuby | Write Silverlight applications with dynamic languages » |
Step-by-step debugging with Silverlight and IronRuby
I struggled a bit while preparing my Silverlight and IronRuby article for the french magazine Programmez so I'll share those tips here.
Here are the required elements to achieve step-by-step debugging when working in IronRuby Silverlight:
- Visual Studio 2008 RTM (trial version is ok)
- Silverlight 2 Visual Studio Tools - available here (you'll have to uninstall any already installed Silverlight runtime or SDK first)
- Grab the latest dlls from the Dynamic Silverlight SDK and place them under your app folder (or under the chiron /bin folder)
Then add the following to your html file:
<param name="initParams" value="debug=true, reportErrors=errorLocation" />
To actually debug, here are the required steps:
- open your ruby file in Visual Studio
- enable the breakpoint
- attach the debugger to your browser window process
- go back to the browser and hit F5
Here's a screenshot:
(many thanks to Jimmy Schementi for helping out on the ironruby-core list).
If you are still here and like Ruby, you may also want to check out this ruby and rmagick visualization mashup I did to display Velib (Paris bike rental system availabilities.
1 comment
The recent development of technologies has increased the demand for higher quality thin films. Accordingly, Evaporation Materials also are expected to be of higher quality and function. every supplier making every effort to offer the highest quality Evaporation Materials that are suited to various methods for thin film manufacturing by leveraging its sophisticated technologies developed through its own R & D.