This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have a Ruby 1.8.7 app using Rails 2.3.2 with a number of custom rake tasks. I have placed a breakpoint in my Rake Task. This breakpoint works fine. The Rake Task calls a method in a library module. Within the library module, I have placed 2 breakpoints. Neither breakpoint is honored. There are no notifications or messages in the output indicating the breakpoints are or are not valid.
Isn't this the same as issue #166285? I've tried create a new project, changed 'test' task to: Rake::TestTask.new do |t| $:.unshift File.join(File.dirname(__FILE__),'lib') require 'main' abcd() t.test_files = FileList['test/**/*.rb'] end tweaked main.rb to: puts "Hello World" def abcd puts 'abcd called' end put breakpoint on Rakefile "abcd()" line, then to main.rb, both "puts" lines and all breakpoints were hit. Could you provide similar steps to reproduce and/or detailed logging as usually. Thanks.
This isn't quite the same; however, the underlying cause may be the same. In the case of #166285, the application is being run under Webrick or Mongrel as a full web application. Under this, the problem appears to be an issue with debugging under Rake possibly picking up on breakpoints and registering them.
So as noted in my previous comment: "Could you provide similar steps to reproduce and/or detailed logging as usually." if it still does not work for you. Tnx.