Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327186

Summary: Debugging with ruby-debug does not catch raised exceptions
Product: [Technology] DLTK Reporter: Missing name <jochen3941>
Component: Ruby-DebugAssignee: dltk.ruby-inbox <dltk.ruby-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: jochen3941
Version: 2.0   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Ruby test script none

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.