Created
April 17, 2009 10:23
-
-
Save maccman/96958 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1. | |
| This Ruby causes the following error: | |
| window.send("test2=", { | |
| :setup => method(:setup), | |
| :send => method(:send) | |
| }) | |
| terminate called after throwing an instance of 'std::logic_error' | |
| what(): basic_string::_S_construct NULL not valid | |
| Abort trap | |
| logout | |
| 2. | |
| *args isn't working for functions | |
| i.e. if you have a method, that takes *args, and you call that from js, it won't receive any of the arguments you pass to it | |
| 3. | |
| Display stack traces for Ruby errors | |
| 4. | |
| This sometimes displays - it seems to happen randomly: | |
| [10:15:35:871] [Titanium] [Debug] FIRING: ti.UI.window.page.init | |
| [10:15:35:879] [Titanium] [Debug] HTTPClientBinding:: starting => http://publisher.titaniumapp.com/api/app-track | |
| [10:15:35:879] [Titanium] [Debug] HTTPClientBinding:: userAgent = Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.7+ (KHTML, like Gecko) Titanium/0.40 | |
| /Library/Ruby/Site/1.8/rubygems.rb:871: [BUG] Segmentation fault | |
| ruby 1.8.6 (2008-03-03) [universal-darwin9.0] | |
| 5. | |
| This doesn't work (hashes in arrays): | |
| window.alert([{"one" => "two"}]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment