[Ironruby-core] Did Something Changed Again in Spec...

Ivan Porto Carrero ivan at flanders.co.nz
Tue Jan 26 04:36:08 EST 2010


rcov has a pure ruby variant too IIRC. And for the sake of this discussion
let's just say that that works as is with IronRuby.

Then I'd be looking at the CLR profiling api again isn't it.
And to enable that profiling API don't I have to instrument my dll with some
constants so it knows it's going to be profiled?
---
Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Blog: http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)



On Tue, Jan 26, 2010 at 10:17 AM, Jimmy Schementi <
Jimmy.Schementi at microsoft.com> wrote:

> You’re correct Ivan. Today RCov isn’t even supported on IronRuby because it
> uses a small c-extension. As Shri said previously, it’d be great if someone
> could remove the dependency on the C-extension (easiest way is to write the
> equivalent Ruby code … what Ryan is suggesting is a better way-long-term
> goal for IronRuby to be compatible with FFI-based extensions), and then RCov
> would work for code coverage of *only ruby code.* Now, imagine that was
> done, and it was called ironruby-rcov … this wouldn’t work for code coverage
> of your .NET code, so you’ll have to use the CLR code coverage tools. Only
> at that point could you think about add CLR support to ironruby-rcov.
>
>
>
> Make sense now?
>
>
>
> ~Jimmy
>
>
>
> *From:* ironruby-core-bounces at rubyforge.org [mailto:
> ironruby-core-bounces at rubyforge.org] *On Behalf Of *Ivan Porto Carrero
> *Sent:* Tuesday, January 26, 2010 1:08 AM
> *To:* ironruby-core at rubyforge.org
> *Subject:* Re: [Ironruby-core] Did Something Changed Again in Spec...
>
>
>
> How does implementing FFI provide code coverage for the CLR, isn't that
> mutually exclusive?  Shouldn't FFI provide us with a way to use C-based
> extensions? But C-based extensions won't know about the ironruby internals
> etc. Just thinking out loud so feel free to correct me :)
>
>
>
> Also aren't the stacks produced by IronRuby a little different from the
> stacks produced by MRI for example.
>
>
>
> To get code coverage for the CLR is that again the CLR profiling API you
> would leverage? could somebody point me in the right direction?
> ---
> Met vriendelijke groeten - Best regards - Salutations
> Ivan Porto Carrero
> Blog: http://flanders.co.nz
> Twitter: http://twitter.com/casualjim
> Author of IronRuby in Action (http://manning.com/carrero)
>
>
> On Tue, Jan 26, 2010 at 6:02 AM, Ryan Riley <ryan.riley at panesofglass.org>
> wrote:
>
> I asked about that earlier, as well, and got the response that it is not
> covered. I believe one of the goals post-1.0 is to get Ruby FFI working. If
> you'd like to see RCov working, you might write a patch to move RCov to Ruby
> FFI so that it will work on IronRuby once FFI support is working. And if you
> get that done, you might even be able to pitch in with the FFI
> implementation. I, for one, would appreciate it. :) Of course, I could do
> those, too, but I'm working on a few other things, atm. :)
>
>
>
>
> Ryan Riley
>
> Email: ryan.riley at panesofglass.org
> LinkedIn: http://www.linkedin.com/in/ryanriley
> Blog: http://wizardsofsmart.net/
> Twitter: @panesofglass
> Website: http://panesofglass.org/
>
> On Mon, Jan 25, 2010 at 2:15 PM, Mohammad Azam <lists at ruby-forum.com>
> wrote:
>
> I was trying to make ironruby to perform code coverage for a .NET
> assembly using rcov but it seems like it is not currently supported
> yet..
>
> --
>
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
>
> _______________________________________________
> Ironruby-core mailing list
> Ironruby-core at rubyforge.org
> http://rubyforge.org/mailman/listinfo/ironruby-core
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100126/3cd3847a/attachment.html>


More information about the Ironruby-core mailing list