
| View previous topic :: View next topic |
| Author |
Message |
jlippiner
Joined: 20 May 2009 Posts: 5
|
Posted: Wed May 20, 2009 2:41 pm Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
Thanks,
Josh |
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed May 20, 2009 2:57 pm Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
Hi Josh,
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
builds
(http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
have installed?
Thanks,
Erno
jlippiner wrote:
| Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
Thanks,
Josh
|
|
|
| Back to top |
|
 |
jlippiner
Joined: 20 May 2009 Posts: 5
|
Posted: Wed May 20, 2009 3:02 pm Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
Well as for the Ruby Platform I am using "Ruby 1.8.6-p287" and Mongrel 1.1.5 as the server.
As for the ruby-debug-base and ide:
ruby-debug (0.10.3)
ruby-debug-base (0.10.3, 0.10.2)
ruby-debug-ide (0.4.4, 0.4.3, 0.3.1)
I'm not ready to start playing with 6.7 but I can tell you it worked great in 6.5 RC2.
Best,
Josh
| Erno Mononen wrote: | Hi Josh,
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
builds
(http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
have installed?
Thanks,
Erno
jlippiner wrote:
| Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
Thanks,
Josh
|
|
|
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed May 20, 2009 3:21 pm Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
jlippiner wrote:
| Quote: | Well as for the Ruby Platform I am using "Ruby 1.8.6-p287" and Mongrel 1.1.5 as the server.
As for the ruby-debug-base and ide:
ruby-debug (0.10.3)
ruby-debug-base (0.10.3, 0.10.2)
ruby-debug-ide (0.4.4, 0.4.3, 0.3.1)
|
Can you try whether installing ruby-debug-ide 0.3.4 (6.5 works with
0.3.x) makes any difference?
| Quote: |
I'm not ready to start playing with 6.7 but I can tell you it worked great in 6.5 RC2.
|
Does anything in
http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-BreakpointsNotGettingHit
apply in your case? If not, could you you follow the steps at
http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-CheckingDebuggerEngineFunctionality
to see whether the problem is in NB or in the back end?
Regards,
Erno
| Quote: |
Best,
Josh
Erno Mononen wrote:
| Quote: | Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
|
| Quote: | (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
|
| Quote: | Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
|
| Quote: | | Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
|
|
| Quote: | | Quote: | Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
|
|
|
|
|
| Back to top |
|
 |
jlippiner
Joined: 20 May 2009 Posts: 5
|
Posted: Wed May 20, 2009 3:38 pm Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
Well there is a .gitignore and .DS_store directory within my app directory that has an @ in the listing.
As for running rdebug_ide, I get this:
11:34 AM ~/NetBeansProjects/TestApp => ~/.gem/ruby/1.8/gems/ruby-debug-ide-0.4.5/bin/rdebug-ide _0.3.4_ -p 1234 -d -- lib/main.rb
/Users/joshua.lippiner/.gem/ruby/1.8/gems/ruby-debug-ide-0.4.5/bin/rdebug-ide:51: warning: already initialized constant ARGV
Using ruby-debug-base 0.10.3
Usage: rdebug-ide is supposed to be called from RDT or NetBeans. The command line interface to ruby-debug is rdebug.
| Erno Mononen wrote: | jlippiner wrote:
| Quote: | Well as for the Ruby Platform I am using "Ruby 1.8.6-p287" and Mongrel 1.1.5 as the server.
As for the ruby-debug-base and ide:
ruby-debug (0.10.3)
ruby-debug-base (0.10.3, 0.10.2)
ruby-debug-ide (0.4.4, 0.4.3, 0.3.1)
|
Can you try whether installing ruby-debug-ide 0.3.4 (6.5 works with
0.3.x) makes any difference?
| Quote: |
I'm not ready to start playing with 6.7 but I can tell you it worked great in 6.5 RC2.
|
Does anything in
http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-BreakpointsNotGettingHit
apply in your case? If not, could you you follow the steps at
http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-CheckingDebuggerEngineFunctionality
to see whether the problem is in NB or in the back end?
Regards,
Erno
| Quote: |
Best,
Josh
Erno Mononen wrote:
| Quote: | Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
|
| Quote: | (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
|
| Quote: | Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
|
| Quote: | | Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
|
|
| Quote: | | Quote: | Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
|
|
|
|
|
|
| Back to top |
|
 |
jlippiner
Joined: 20 May 2009 Posts: 5
|
Posted: Wed May 20, 2009 3:58 pm Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
Erno -
I found another clue I think. I opened a different Rails app and the breakpoints worked.
Also, I tried 6.7 and the breakpoints still did not work.
Any thoughts?
/j
| Erno Mononen wrote: | jlippiner wrote:
| Quote: | Well as for the Ruby Platform I am using "Ruby 1.8.6-p287" and Mongrel 1.1.5 as the server.
As for the ruby-debug-base and ide:
ruby-debug (0.10.3)
ruby-debug-base (0.10.3, 0.10.2)
ruby-debug-ide (0.4.4, 0.4.3, 0.3.1)
|
Can you try whether installing ruby-debug-ide 0.3.4 (6.5 works with
0.3.x) makes any difference?
| Quote: |
I'm not ready to start playing with 6.7 but I can tell you it worked great in 6.5 RC2.
|
Does anything in
http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-BreakpointsNotGettingHit
apply in your case? If not, could you you follow the steps at
http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-CheckingDebuggerEngineFunctionality
to see whether the problem is in NB or in the back end?
Regards,
Erno
| Quote: |
Best,
Josh
Erno Mononen wrote:
| Quote: | Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
|
| Quote: | (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
|
| Quote: | Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
|
| Quote: | | Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
|
|
| Quote: | | Quote: | Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
|
|
|
|
|
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed May 20, 2009 5:29 pm Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
I guess it could be related to file permissions (some folks were having
similar problems that turned out to be permission related). What if you
run NB under sudo?
Erno
jlippiner wrote:
| Quote: | Erno -
I found another clue I think. I opened a different Rails app and the breakpoints worked.
Also, I tried 6.7 and the breakpoints still did not work.
Any thoughts?
/j
Erno Mononen wrote:
| Quote: | | Quote: | Well as for the Ruby Platform I am using "Ruby 1.8.6-p287" and Mongrel 1.1.5 as the server.
|
|
| Quote: | | Quote: | As for the ruby-debug-base and ide:
|
|
| Quote: | | Quote: | ruby-debug (0.10.3)
|
|
| Quote: | | Quote: | ruby-debug-base (0.10.3, 0.10.2)
|
|
| Quote: | | Quote: | ruby-debug-ide (0.4.4, 0.4.3, 0.3.1)
|
|
| Quote: | Can you try whether installing ruby-debug-ide 0.3.4 (6.5 works with
|
| Quote: | 0.3.x) makes any difference?
|
| Quote: | | Quote: | I'm not ready to start playing with 6.7 but I can tell you it worked great in 6.5 RC2.
|
|
| Quote: | http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-BreakpointsNotGettingHit
|
| Quote: | apply in your case? If not, could you you follow the steps at
|
| Quote: | http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-CheckingDebuggerEngineFunctionality
|
| Quote: | to see whether the problem is in NB or in the back end?
|
| Quote: | | Quote: | Erno Mononen wrote:
|
|
| Quote: | | Quote: | | Quote: | Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
|
|
|
| Quote: | | Quote: | | Quote: | (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
|
|
|
| Quote: | | Quote: | | Quote: | Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
|
|
|
| Quote: | | Quote: | | Quote: | | Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
|
|
|
|
| Quote: | | Quote: | | Quote: | | Quote: | Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
|
|
|
|
|
|
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed May 20, 2009 5:36 pm Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
It probably would be worth trying to remove those attributes (if
possible), but I'm not sure whether that will help. So the app directory
itself doesn't have any extended attributes?
I need to investigate why rdebug-ide isn't working for you from the
command line.
Erno
jlippiner wrote:
| Quote: | Well there is a .gitignore and .DS_store directory within my app directory that has an @ in the listing.
As for running rdebug_ide, I get this:
11:34 AM ~/NetBeansProjects/TestApp => ~/.gem/ruby/1.8/gems/ruby-debug-ide-0.4.5/bin/rdebug-ide _0.3.4_ -p 1234 -d -- lib/main.rb
/Users/joshua.lippiner/.gem/ruby/1.8/gems/ruby-debug-ide-0.4.5/bin/rdebug-ide:51: warning: already initialized constant ARGV
Using ruby-debug-base 0.10.3
Usage: rdebug-ide is supposed to be called from RDT or NetBeans. The command line interface to ruby-debug is rdebug.
Erno Mononen wrote:
| Quote: | | Quote: | Well as for the Ruby Platform I am using "Ruby 1.8.6-p287" and Mongrel 1.1.5 as the server.
|
|
| Quote: | | Quote: | As for the ruby-debug-base and ide:
|
|
| Quote: | | Quote: | ruby-debug (0.10.3)
|
|
| Quote: | | Quote: | ruby-debug-base (0.10.3, 0.10.2)
|
|
| Quote: | | Quote: | ruby-debug-ide (0.4.4, 0.4.3, 0.3.1)
|
|
| Quote: | Can you try whether installing ruby-debug-ide 0.3.4 (6.5 works with
|
| Quote: | 0.3.x) makes any difference?
|
| Quote: | | Quote: | I'm not ready to start playing with 6.7 but I can tell you it worked great in 6.5 RC2.
|
|
| Quote: | http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-BreakpointsNotGettingHit
|
| Quote: | apply in your case? If not, could you you follow the steps at
|
| Quote: | http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-CheckingDebuggerEngineFunctionality
|
| Quote: | to see whether the problem is in NB or in the back end?
|
| Quote: | | Quote: | Erno Mononen wrote:
|
|
| Quote: | | Quote: | | Quote: | Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
|
|
|
| Quote: | | Quote: | | Quote: | (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
|
|
|
| Quote: | | Quote: | | Quote: | Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
|
|
|
| Quote: | | Quote: | | Quote: | | Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
|
|
|
|
| Quote: | | Quote: | | Quote: | | Quote: | Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
|
|
|
|
|
|
|
| Back to top |
|
 |
jlippiner
Joined: 20 May 2009 Posts: 5
|
Posted: Wed May 20, 2009 6:01 pm Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
Sorry, how do I do that?
| Erno Mononen wrote: | I guess it could be related to file permissions (some folks were having
similar problems that turned out to be permission related). What if you
run NB under sudo?
Erno
jlippiner wrote:
| Quote: | Erno -
I found another clue I think. I opened a different Rails app and the breakpoints worked.
Also, I tried 6.7 and the breakpoints still did not work.
Any thoughts?
/j
Erno Mononen wrote:
| Quote: | | Quote: | Well as for the Ruby Platform I am using "Ruby 1.8.6-p287" and Mongrel 1.1.5 as the server.
|
|
| Quote: | | Quote: | As for the ruby-debug-base and ide:
|
|
| Quote: | | Quote: | ruby-debug (0.10.3)
|
|
| Quote: | | Quote: | ruby-debug-base (0.10.3, 0.10.2)
|
|
| Quote: | | Quote: | ruby-debug-ide (0.4.4, 0.4.3, 0.3.1)
|
|
| Quote: | Can you try whether installing ruby-debug-ide 0.3.4 (6.5 works with
|
| Quote: | 0.3.x) makes any difference?
|
| Quote: | | Quote: | I'm not ready to start playing with 6.7 but I can tell you it worked great in 6.5 RC2.
|
|
| Quote: | http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-BreakpointsNotGettingHit
|
| Quote: | apply in your case? If not, could you you follow the steps at
|
| Quote: | http://wiki.netbeans.org/RubyDebugging#section-RubyDebugging-CheckingDebuggerEngineFunctionality
|
| Quote: | to see whether the problem is in NB or in the back end?
|
| Quote: | | Quote: | Erno Mononen wrote:
|
|
| Quote: | | Quote: | | Quote: | Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev
|
|
|
| Quote: | | Quote: | | Quote: | (http://wiki.netbeans.org/RubyInstallation#section-RubyInstallation-GettingADevelopmentBuild)?
|
|
|
| Quote: | | Quote: | | Quote: | Also, what versions of the ruby-debug-base and ruby-debug-ide gems you
|
|
|
| Quote: | | Quote: | | Quote: | | Quote: | I recently upgraded (or downgraded) to 6.5.1 and found that the breakpoints in my rails apps are not breaking for debugging as they should. If I add ruby-debug and then use the ole debugger command, the IDE will break at the debugger command but still ignores the breakpoints.
|
|
|
|
| Quote: | | Quote: | | Quote: | | Quote: | Breakpoints were the sole reason I switched from TM. How do I get them working again? I'm using Mongrel and the latest versions of ruby and rails.
|
|
|
|
|
|
|
|
| Back to top |
|
 |
Erno Mononen Posted via mailing list.
|
Posted: Wed May 20, 2009 6:14 pm Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine |
|
|
On Ubuntu you just go to the NB install dir and do
$ sudo bin/netbeans
I'd guess it's something similar on Mac.
Erno
jlippiner wrote:
| Quote: | Sorry, how do I do that?
Erno Mononen wrote:
| Quote: | I guess it could be related to file permissions (some folks were having
|
| Quote: | similar problems that turned out to be permission related). What if you
|
| Quote: | run NB under sudo?
|
| Quote: | | Quote: | I found another clue I think. I opened a different Rails app and the breakpoints worked.
|
|
| Quote: | | Quote: | Also, I tried 6.7 and the breakpoints still did not work.
|
|
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|
|