Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 327186 - Debugging with ruby-debug does not catch raised exceptions
Summary: Debugging with ruby-debug does not catch raised exceptions
Status: CLOSED WONTFIX
Alias: None
Product: DLTK
Classification: Technology
Component: Ruby-Debug (show other bugs)
Version: 2.0   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.ruby-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-07 03:48 EDT by Missing name CLA
Modified: 2020-01-03 07:57 EST (History)
1 user (show)

See Also:


Attachments
Ruby test script (129 bytes, text/x-ruby-script)
2010-10-07 03:48 EDT, Missing name CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name CLA 2010-10-07 03:48:15 EDT
Created attachment 180395 [details]
Ruby test script

See attached test.rb

When running from the command line, the LoadError is caught, and "Error" is printed. This works with "ruby test.rb" and "rdebug test.rb".


When debugged from Eclipse, the exception is not caught and the script exits without printing "Error".

This maybe is caused by rubygems replacing Kernel#require.
Comment 1 Dawid Pakula CLA 2020-01-03 07:57:10 EST
Ruby support has been removed.