aboutsummaryrefslogtreecommitdiffstats
path: root/mikutter.rb
diff options
context:
space:
mode:
authortoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2012-01-03 18:00:53 +0000
committertoshi <toshi@03aab468-d3d2-4883-8b12-f661bbf03fa8>2012-01-03 18:00:53 +0000
commit1ffbd26875b76d1e97c02f340d2a9c47dc78e927 (patch)
tree5001b8f8765906f5d00765c31db85a8ea96b2d2c /mikutter.rb
parenta35f1639ca2e3a72ba437c9f0739a41cf3684d40 (diff)
downloadmikutter-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.rb5
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')