Using the IDE debugger in RubyMine fails always to start the debugger instance. This happened with JRuby 10.0.1.0 as well as with JRuby 10.0.2.0. The RubyMine release is 2025.2 There is an open issue also at JetBrains without probability to be fixed soon. This issue also contains a reproducible test case. https://youtrack.jetbrains.com/issue/RUBY-34161 ``` /Users/pramm/.rubies/jruby-10.0.1.0/bin/jruby -x /Users/pramm/Documents/Projekte/rammpeter.github/panorama/bin/bundle exec /Users/pramm/.rubies/jruby-10.0.1.0/bin/jruby -X+O -J-Djruby.compile.mode=OFF -J-Djruby.debug.fullTrace=true /Users/pramm/.rubies/jruby-10.0.1.0/lib/ruby/gems/shared/gems/ruby-debug-ide-0.7.5/bin/rdebug-ide --key-value --disable-int-handler --evaluation-timeout 10 --evaluation-control --time-limit 100 --memory-limit 0 --rubymine-protocol-extensions --port 49481 --host 127.0.0.1 --dispatcher-port 49482 -- /Users/pramm/Documents/Projekte/rammpeter.github/Panorama/bin/rails server -b 0.0.0.0 -p 3000 -e development /Users/pramm/.rubies/jruby-10.0.1.0/lib/ruby/gems/shared/gems/ruby-debug-ide-0.7.5/bin/rdebug-ide:4: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add ostruct to your Gemfile or gemspec to silence this warning. Evaluation memory limit is ineffective in JRuby and MRI < 2.0 Fast Debugger (ruby-debug-ide 0.7.5, ruby-debug-base 0.11.0, file filtering is supported) listens on 127.0.0.1:49481 Unhandled Java exception: java.lang.IllegalArgumentException: unknown event type: RESCUE java.lang.IllegalArgumentException: unknown event type: RESCUE processEvent at org/jruby/debug/DebugEventHook.java:329 eventHandler at org/jruby/debug/DebugEventHook.java:98 event at org/jruby/runtime/EventHook.java:31 callEventHooks at org/jruby/runtime/TraceEventManager.java:196 callTrace at org/jruby/ir/runtime/IRRuntimeHelpers.java:2482 interpret at org/jruby/ir/instructions/TraceInstr.java:93 processBookKeepingOp at org/jruby/ir/interpreter/InterpreterEngine.java:435 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:94 INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:120 commonYieldPath at org/jruby/runtime/InterpretedIRBlockBody.java:148 doYield at org/jruby/runtime/IRBlockBody.java:170 yield at org/jruby/runtime/BlockBody.java:108 yield at org/jruby/runtime/Block.java:191 each at org/jruby/RubyArray.java:2088 call at org/jruby/RubyArray$INVOKER$i$0$0$each_DBG.gen:-1 call at org/jruby/internal/runtime/methods/JavaMethod.java:559 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446 call at org/jruby/runtime/callsite/CachingCallSite.java:92 callIter at org/jruby/runtime/callsite/CachingCallSite.java:103 interpret at org/jruby/ir/instructions/CallBase.java:553 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:372 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:120 commonYieldPath at org/jruby/runtime/InterpretedIRBlockBody.java:148 doYield at org/jruby/runtime/IRBlockBody.java:170 yield at org/jruby/runtime/BlockBody.java:108 yield at org/jruby/runtime/Block.java:191 each at org/jruby/RubyArray.java:2088 call at org/jruby/RubyArray$INVOKER$i$0$0$each_DBG.gen:-1 call at org/jruby/internal/runtime/methods/JavaMethod.java:559 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446 call at org/jruby/runtime/callsite/CachingCallSite.java:92 callIter at org/jruby/runtime/callsite/CachingCallSite.java:103 interpret at org/jruby/ir/instructions/CallBase.java:553 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:372 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 interpretFrameScope at org/jruby/ir/interpreter/Interpreter.java:174 INTERPRET_METHOD at org/jruby/ir/interpreter/Interpreter.java:150 call at org/jruby/internal/runtime/methods/InterpretedIRMethod.java:151 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:466 call at org/jruby/runtime/callsite/CachingCallSite.java:244 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:320 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 interpretFrameScope at org/jruby/ir/interpreter/Interpreter.java:174 INTERPRET_METHOD at org/jruby/ir/interpreter/Interpreter.java:155 call at org/jruby/internal/runtime/methods/InterpretedIRMethod.java:173 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:476 call at org/jruby/runtime/callsite/CachingCallSite.java:293 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:330 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 interpretFrameScope at org/jruby/ir/interpreter/Interpreter.java:174 INTERPRET_METHOD at org/jruby/ir/interpreter/Interpreter.java:155 call at org/jruby/internal/runtime/methods/InterpretedIRMethod.java:173 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:476 call at org/jruby/runtime/callsite/CachingCallSite.java:293 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:330 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:100 execute at org/jruby/ir/interpreter/Interpreter.java:85 execute at org/jruby/ir/interpreter/Interpreter.java:35 execute at org/jruby/ir/IRTranslator.java:42 runInterpreter at org/jruby/Ruby.java:1234 loadFile at org/jruby/Ruby.java:3018 load at org/jruby/runtime/load/LibrarySearcher.java:936 load at org/jruby/runtime/load/LibrarySearcher.java:894 tryLoadingLibraryOrScript at org/jruby/runtime/load/LoadService.java:675 lambda$smartLoadInternal$0 at org/jruby/runtime/load/LoadService.java:577 executeAndClearLock at org/jruby/runtime/load/LoadService.java:516 lock at org/jruby/runtime/load/LoadService.java:476 smartLoadInternal at org/jruby/runtime/load/LoadService.java:563 require at org/jruby/runtime/load/LoadService.java:414 requireCommon at org/jruby/RubyKernel.java:1188 require at org/jruby/RubyKernel.java:1183 call at org/jruby/RubyKernel$INVOKER$s$1$0$require_DBG.gen:-1 call at org/jruby/internal/runtime/methods/AliasMethod.java:131 finvokeWithRefinements at org/jruby/RubyClass.java:660 send at org/jruby/RubyBasicObject.java:1779 send at org/jruby/RubyKernel.java:2376 call at org/jruby/RubyKernel$INVOKER$s$send_DBG.gen:-1 call at org/jruby/internal/runtime/methods/JavaMethod.java:443 call at org/jruby/runtime/callsite/CachingCallSite.java:291 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:330 interpret at org/jruby/ir/interpreter/InterpreterEngine.java:159 INTERPRET_BLOCK at org/jruby/ir/interpreter/Interpreter.java:120 callDirect at org/jruby/runtime/InterpretedIRBlockBody.java:104 call at org/jruby/runtime/IRBlockBody.java:66 call at org/jruby/runtime/Block.java:150 call at org/jruby/RubyProc.java:380 call at org/jruby/internal/runtime/methods/ProcMethod.java:62 call at org/jruby/internal/runtime/methods/DynamicMethod.java:229 call at org/jruby/internal/runtime/methods/DynamicMethod.java:225 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:466 call at org/jruby/runtime/callsite/CachingCallSite.java:244 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:320 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:100 execute at org/jruby/ir/interpreter/Interpreter.java:85 execute at org/jruby/ir/interpreter/Interpreter.java:35 execute at org/jruby/ir/IRTranslator.java:42 runInterpreter at org/jruby/Ruby.java:1234 loadFile at org/jruby/Ruby.java:3018 load at org/jruby/runtime/load/LibrarySearcher.java:936 load at org/jruby/runtime/load/LibrarySearcher.java:894 load at org/jruby/runtime/load/LoadService.java:376 load at org/jruby/debug/Debugger.java:148 debug_load at org/jruby/debug/RubyDebugger.java:209 call at org/jruby/debug/RubyDebugger$INVOKER$s$0$2$debug_load_DBG.gen:-1 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:446 call at org/jruby/runtime/callsite/CachingCallSite.java:92 interpret at org/jruby/ir/instructions/CallBase.java:556 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:372 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 interpretFrameScope at org/jruby/ir/interpreter/Interpreter.java:174 INTERPRET_METHOD at org/jruby/ir/interpreter/Interpreter.java:150 call at org/jruby/internal/runtime/methods/InterpretedIRMethod.java:151 cacheAndCall at org/jruby/runtime/callsite/CachingCallSite.java:466 call at org/jruby/runtime/callsite/CachingCallSite.java:244 processCall at org/jruby/ir/interpreter/InterpreterEngine.java:320 interpret at org/jruby/ir/interpreter/StartupInterpreterEngine.java:66 INTERPRET_ROOT at org/jruby/ir/interpreter/Interpreter.java:100 execute at org/jruby/ir/interpreter/Interpreter.java:85 execute at org/jruby/ir/interpreter/Interpreter.java:35 execute at org/jruby/ir/IRTranslator.java:42 runInterpreter at org/jruby/Ruby.java:1234 runInterpreter at org/jruby/Ruby.java:1264 runNormally at org/jruby/Ruby.java:1138 runFromMain at org/jruby/Ruby.java:978 internalRun at org/jruby/Main.java:282 run at org/jruby/Main.java:227 main at org/jruby/Main.java:199 Process finished with exit code 1 ```