diff options
author | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2012-01-03 18:00:53 +0000 |
---|---|---|
committer | toshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8> | 2012-01-03 18:00:53 +0000 |
commit | 1ffbd26875b76d1e97c02f340d2a9c47dc78e927 (patch) | |
tree | 5001b8f8765906f5d00765c31db85a8ea96b2d2c /mikutter.rb | |
parent | a35f1639ca2e3a72ba437c9f0739a41cf3684d40 (diff) | |
download | mikutter-1ffbd26875b76d1e97c02f340d2a9c47dc78e927.tar.gz |
デバッグモード中にクラッシュする時にrubyインタプリタを起動する closes #399
git-svn-id: svn://toshia.dip.jp/mikutter/trunk@629 03aab468-d3d2-4883-8b12-f661bbf03fa8
Diffstat (limited to 'mikutter.rb')
-rw-r--r-- | mikutter.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mikutter.rb b/mikutter.rb index c8960108..5e3fe84b 100644 --- a/mikutter.rb +++ b/mikutter.rb @@ -53,8 +53,9 @@ def boot!(profile) notice "profile: done." end else - Gtk.main end end - + Gtk.main end +rescue => e + into_debug_mode(e) end begin errfile = File.join(File.expand_path(Environment::TMPDIR), 'mikutter_dump') |