[Ironruby-core] Code Review: command_line

2009-02-19 Thread Jim Deville
This also sets up the code review script to include tests. tfpt review "/shelveset:command_line;REDMOND\jdeville" Comment : Adds specs for common Ruby command line options. command_line.diff Description: command_line.diff ___ Ironruby-core ma

Re: [Ironruby-core] Debugging rubyspecs

2009-02-19 Thread Pete Bacon Darwin
I am still having problems with this... D:\dev\ruby\ironruby\current\Merlin\Main> D:\dev\ruby\ironruby\current\Merlin\Main\bin\debug\ir.exe -v -X:Interpret d:/dev/ruby/mspec/bin/mspec-run -e "caches" -fs -V -B "c:/Documents and Settings/pete/default.mspec" d:/dev/ruby/rubyspec/lang uage/regexp

Re: [Ironruby-core] Debugging rubyspecs

2009-02-19 Thread Jim Deville
All the versions that IronRuby has used, have the outer layer CRuby process kick off a target implementation process. If you call mspec -fs core -t "ir.exe", it becomes a call to ir.exe mspec-run -fs core. For many of the specs, you can skip the outer layer, and run mspec-run (or mspec-ci, or m

Re: [Ironruby-core] Debugging rubyspecs

2009-02-19 Thread Shri Borde
The following command runs a single spec, and only launches ir.exe once. Note that the command launches mspec-run.rb which does not spawn any processes. The other runners like mspec-ci etc do spawn a new process for mspec-run.rb. c:\vsl\Merlin\Main>c:\vsl\Merlin\Main\bin\debug\ir.exe -v -X:Inter

Re: [Ironruby-core] community chapter

2009-02-19 Thread Ivan Porto Carrero
Another one I'd like to convince to write a short essay is Orion Edwards. I believe we've actually met once or twice when I was living in Wellington but can't be sure, my memory is like swiss cheese. I'm discussing with the publisher on how we can make this work for them too and next week I'll con

Re: [Ironruby-core] hosting: howto get the nice ruby backtrace on exception thrown from ruby?

2009-02-19 Thread Tomas Matousek
I completely agree with that. I think we should add a method GetStackTrace() that returns an instance of some StackTrace class, which is an array of StackFrames, where StackFrame is some struct/class that contains method name, file name and line number. Tomas From: ironruby-core-boun...@rubyfo

Re: [Ironruby-core] Debugging rubyspecs

2009-02-19 Thread Pete Bacon Darwin
Hi Shri and Jimmy, Thanks for the suggestions. What version of mspec are you running? I am running the head version directly from rubyspecs github: "d482804 Added should have_constant matcher." In my version, the initial ruby process kicks off a new ruby process (potentially a completely

Re: [Ironruby-core] community chapter

2009-02-19 Thread Robert Brotherus
Hi Ivan, Yes, I can also write about our (still ongoing) path to WPF + XAML + IronRuby enlightment Any deadline you want to set for contributions? Let's continue in private emails. Robert Brotherus _ From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-bo

Re: [Ironruby-core] hosting: howto get the nice ruby backtrace on exception thrown from ruby?

2009-02-19 Thread Meinrad Recheis
Thanks Thomas, thats very good. As for a suggestion about ExceptionService features: It would be quite useful to retrieve the exception backtrace as string[] in order to be able format it to one's needs. For instance, I like using the VisualStudio error parser to be able to jump from the backtrace