Thibaut Barrère
2008-Apr-09 21:58 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
Hi, I followed the debugging guidelines provided at the bottom of http://silverlight.net/Quickstarts/ProgramDlr.aspx but could not get them to work so far. My breakpoints in VisualStudio 2008 keep their label "This breakpoint will currently not be hit. No executable code is associated with this line". Should a specific project type or project settings be used to get this working ? thanks, -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080409/2d15d23e/attachment.html
Jimmy Schementi
2008-Apr-09 23:07 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
You need to have debug=true in "initParams" in your HTML file. <param name="initParams value="debug=true; reportErrors=errorLocation" /> That should do it. ~js From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barr?re Sent: Wednesday, April 09, 2008 2:58 PM To: ironruby-core at rubyforge.org Subject: [Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ? Hi, I followed the debugging guidelines provided at the bottom of http://silverlight.net/Quickstarts/ProgramDlr.aspx but could not get them to work so far. My breakpoints in VisualStudio 2008 keep their label "This breakpoint will currently not be hit. No executable code is associated with this line". Should a specific project type or project settings be used to get this working ? thanks, -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080409/50cb280d/attachment.html
Thibaut Barrère
2008-Apr-10 01:43 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
Hi Jimmy, thanks for you answer. The application cannot seem to start when using a semicolon to separate values in initParams. I tried comma instead (the application manages to start this way - not sure if the param is passed properly though): <param name="initParams" value="debug=true,reportErrors=errorLocation" /> either way, the breakpoints remain in the same state (inactivated). I guess it''s a first step although something still must be missing. When refreshing the browser windows, should a new debugger pop up ? Could it be some option at the internet explorer level ? thanks, -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080410/cc1e8d03/attachment.html
Jimmy Schementi
2008-Apr-10 02:16 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
Woops, it''s suppose to be a comma, my fault. I may be mistaken, but I believe only the IronRuby bits on http://dynamicsilverlight.net can be debugged in Silverlight. I just did a test and I cannot debug the ruby clock demo with the Silverlight SDK bits, but it works with the Dynamic Silverlight bits. So, first make sure you''re using the latest and greatest stuff from the web. If you run the app, open the ruby file in VS, put a breakpoint in it, attach to your browser running the app, and refresh the browser, you should see the breakpoint flicker a bit and then break at the line. This shouldn''t depend on any IE settings; you can debug Firefox as well. From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barr?re Sent: Wednesday, April 09, 2008 6:43 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ? Hi Jimmy, thanks for you answer. The application cannot seem to start when using a semicolon to separate values in initParams. I tried comma instead (the application manages to start this way - not sure if the param is passed properly though): <param name="initParams" value="debug=true,reportErrors=errorLocation" /> either way, the breakpoints remain in the same state (inactivated). I guess it''s a first step although something still must be missing. When refreshing the browser windows, should a new debugger pop up ? Could it be some option at the internet explorer level ? thanks, -- Thibaut -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080409/919a103b/attachment.html
Thibaut Barrère
2008-Apr-10 02:42 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
> Woops, it''s suppose to be a comma, my fault.No worries :)> I may be mistaken, but I believe only the IronRuby bits on > http://dynamicsilverlight.net can be debugged in Silverlight. I just did a > test and I cannot debug the ruby clock demo with the Silverlight SDK bits, > but it works with the Dynamic Silverlight bits. So, first make sure you''re > using the latest and greatest stuff from the web.Hooray. It works now! FWIW: the simplest way to do this for me was to copy the Dynamic SDK dlls from /bin to my application /app (it seems that Chiron will pick them instead if they are here). thanks! -- Thibaut
Jimmy Schementi
2008-Apr-10 03:22 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
> the simplest way to do this for me was to > copy the Dynamic SDK dlls from /bin to my application /app (it seems > that Chiron will pick them instead if they are here).Sure. =) You can also put them in the /bin directory that Chiron points to so all your apps can use them. ~js> -----Original Message----- > From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core- > bounces at rubyforge.org] On Behalf Of Thibaut Barr?re > Sent: Wednesday, April 09, 2008 7:42 PM > To: ironruby-core at rubyforge.org > Subject: Re: [Ironruby-core] Cannot debug IronRuby + Silverlight - any > hint ? > > > Woops, it''s suppose to be a comma, my fault. > > No worries :) > > > I may be mistaken, but I believe only the IronRuby bits on > > http://dynamicsilverlight.net can be debugged in Silverlight. I just > did a > > test and I cannot debug the ruby clock demo with the Silverlight SDK > bits, > > but it works with the Dynamic Silverlight bits. So, first make sure > you''re > > using the latest and greatest stuff from the web. > > Hooray. It works now! FWIW: the simplest way to do this for me was to > copy the Dynamic SDK dlls from /bin to my application /app (it seems > that Chiron will pick them instead if they are here). > > thanks! > > -- Thibaut > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core
Thibaut Barrère
2008-Apr-12 08:49 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
In case it''s useful to someone else - I gathered those tips here: http://www.dotnetguru2.org/tbarrere/index.php?title=step_by_step_debugging_with_silverlight_&more=1&c=1&tb=1&pb=1 I believe it''s pretty much what''s here : http://silverlight.net/Quickstarts/ProgramDlr.aspx except for: - debug=true - grab the latest IronRuby binaries - put those in your /app or chiron''s /bin It may be worth updating ProgramDlr.aspx with those additional tips ? I have a related question: will it be (or is it currently ?) possible to do step-by-step debugging with any of the free products (Visual Studio C# express 2008, VS 2008 shell version, any other ?). cheers Thibaut Barr?re -- LoGeek [blog] http://evolvingworker.com - tools for a better day [blog] http://blog.logeek.fr - about writing software -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20080412/eab73bbe/attachment.html
Jimmy Schementi
2008-Apr-13 01:46 UTC
[Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ?
Thanks Thibaut! Yes, I can poke the silverlight.net guys to update ProgramDlr.aspx, again. =P ~js ________________________________________ From: ironruby-core-bounces at rubyforge.org [ironruby-core-bounces at rubyforge.org] On Behalf Of Thibaut Barr?re [thibaut.barrere at gmail.com] Sent: Saturday, April 12, 2008 1:49 AM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Cannot debug IronRuby + Silverlight - any hint ? In case it''s useful to someone else - I gathered those tips here: http://www.dotnetguru2.org/tbarrere/index.php?title=step_by_step_debugging_with_silverlight_&more=1&c=1&tb=1&pb=1 I believe it''s pretty much what''s here : http://silverlight.net/Quickstarts/ProgramDlr.aspx except for: - debug=true - grab the latest IronRuby binaries - put those in your /app or chiron''s /bin It may be worth updating ProgramDlr.aspx with those additional tips ? I have a related question: will it be (or is it currently ?) possible to do step-by-step debugging with any of the free products (Visual Studio C# express 2008, VS 2008 shell version, any other ?). cheers Thibaut Barr?re -- LoGeek [blog] http://evolvingworker.com - tools for a better day [blog] http://blog.logeek.fr - about writing software