On Sat, Feb 19, 2011 at 10:03 PM, Chuck Remes <[email protected]>wrote:

> 3. Add in the heap_dump (evanphx/heap_dump) functionality directly into rbx
> console (or make it a plug-in or something). It would be great to be able to
> write a command similar to this:
>
> console> heap.diff(Time.now, Time.now + 60)
>
> or
>
> console> now_anchor = Time.now
> console> 5.times do
> console>    sleep 60
> console>    heap.diff(now_anchor, Time.now)
> console> end
>
> to do heap diffs right in the console.
>
> 4. Extend the debugger so we can set breakpoint on stdlib or rbx internal
> Ruby code that is *called by* a C extension.
>

I wasn't aware this wasn't possible. Can you come up with the simplest test
case to try?

Thanks.


> 5. Provide a Ruby method for temporarily disabling the JIT around certain
> sections of code.
>
> e.g.
>
>  def foo
>    Rubinius.jit :disable
>    <my code>
>    Rubinius.jit :enable
>    <other code>
>  end
>
> Not hugely useful for all occasions, but there are a few times when you
> suspect code is problematic due to the JIT and you just want to get it out
> of the way.
>
>
> cr
>
> --
> --- !ruby/object:MailingList
> name: rubinius-dev
> view: http://groups.google.com/group/rubinius-dev?hl=en
> post: [email protected]
> unsubscribe: [email protected]
>

-- 
--- !ruby/object:MailingList
name: rubinius-dev
view: http://groups.google.com/group/rubinius-dev?hl=en
post: [email protected]
unsubscribe: [email protected]

Reply via email to