Sha256: f974a7e3ee6fcb9f74fa53eec6a532d671001dc9bd49032b3d5218d2d7d40deb

Contents?: true

Size: 954 Bytes

Versions: 1

Compression:

Stored size: 954 Bytes

Contents

motion-dtrace
=============

Proof of concept to use dtrace on rubymotion. Check the demo at [You Tube](https://github.com/siuying/motion-dtrace).

Installation
------------

```
gem install motion-dtrace
```

Usage
-----

1. Edit the Rakefile of your RubyMotion project and add the following require line.

```
require 'rubygems'
require 'motion-dtrace'
```

2. Start simulator process:

```
rake
```

3. On another terminal, start dtrace:

```
rake dtrace
```

You may specify your own dtrace file via: 

```
rake dtrace DTRACE=/Users/siuying/Documents/workspace/motion/motion-dtrace/dtrace/methods_duration.d
```

TODO
----

Currently this gem is just a hack to simplify command lines. 

We shall investigate can we do real integration with project.

Credit
------

- [MacRuby DTrace examples](https://github.com/MacRuby/MacRuby/tree/master/sample-macruby/DTrace)
- [Using the DTrace](http://watson1978.github.com/MacRuby-DoJo/blog/2012/04/15/dtrace/)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
motion-dtrace-0.1.1 README.md