FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine

 
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users
View previous topic :: View next topic  
Author Message
jlippiner



Joined: 20 May 2009
Posts: 5

PostPosted: Wed May 20, 2009 2:41 pm    Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with 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
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Wed May 20, 2009 2:57 pm    Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with quote

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

PostPosted: Wed May 20, 2009 3:02 pm    Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with 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)

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
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Wed May 20, 2009 3:21 pm    Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with quote

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:
Hi Josh,





Quote:
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev



Quote:
builds



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:
have installed?





Quote:
Thanks,



Quote:
Erno









Quote:
jlippiner wrote:



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.









Quote:
Quote:
Thanks,









Quote:
Quote:
Josh





































Back to top
jlippiner



Joined: 20 May 2009
Posts: 5

PostPosted: Wed May 20, 2009 3:38 pm    Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with 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:
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:
Hi Josh,





Quote:
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev



Quote:
builds



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:
have installed?





Quote:
Thanks,



Quote:
Erno









Quote:
jlippiner wrote:



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.









Quote:
Quote:
Thanks,









Quote:
Quote:
Josh





































Back to top
View user's profile Send private message
jlippiner



Joined: 20 May 2009
Posts: 5

PostPosted: Wed May 20, 2009 3:58 pm    Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with 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:
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:
Hi Josh,





Quote:
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev



Quote:
builds



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:
have installed?





Quote:
Thanks,



Quote:
Erno









Quote:
jlippiner wrote:



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.









Quote:
Quote:
Thanks,









Quote:
Quote:
Josh





































Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Wed May 20, 2009 5:29 pm    Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with quote

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:
jlippiner 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:
Does anything in



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:
Regards,





Quote:
Erno









Quote:
Quote:
Best,









Quote:
Quote:
Josh











Quote:
Quote:
Erno Mononen wrote:





Quote:
Quote:
Quote:
Hi Josh,













Quote:
Quote:
Quote:
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev









Quote:
Quote:
Quote:
builds









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:
have installed?













Quote:
Quote:
Quote:
Thanks,









Quote:
Quote:
Quote:
Erno





















Quote:
Quote:
Quote:
jlippiner wrote:









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.





















Quote:
Quote:
Quote:
Quote:
Thanks,





















Quote:
Quote:
Quote:
Quote:
Josh

























































































Back to top
Erno Mononen
Posted via mailing list.





PostPosted: Wed May 20, 2009 5:36 pm    Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with quote

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:
jlippiner 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:
Does anything in



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:
Regards,





Quote:
Erno









Quote:
Quote:
Best,









Quote:
Quote:
Josh











Quote:
Quote:
Erno Mononen wrote:





Quote:
Quote:
Quote:
Hi Josh,













Quote:
Quote:
Quote:
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev









Quote:
Quote:
Quote:
builds









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:
have installed?













Quote:
Quote:
Quote:
Thanks,









Quote:
Quote:
Quote:
Erno





















Quote:
Quote:
Quote:
jlippiner wrote:









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.





















Quote:
Quote:
Quote:
Quote:
Thanks,





















Quote:
Quote:
Quote:
Quote:
Josh

























































































Back to top
jlippiner



Joined: 20 May 2009
Posts: 5

PostPosted: Wed May 20, 2009 6:01 pm    Post subject: Re: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with quote

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:
jlippiner 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:
Does anything in



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:
Regards,





Quote:
Erno









Quote:
Quote:
Best,









Quote:
Quote:
Josh











Quote:
Quote:
Erno Mononen wrote:





Quote:
Quote:
Quote:
Hi Josh,













Quote:
Quote:
Quote:
Do you use JRuby or MRI (CRuby)? Can you try whether it works in 6.7 dev









Quote:
Quote:
Quote:
builds









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:
have installed?













Quote:
Quote:
Quote:
Thanks,









Quote:
Quote:
Quote:
Erno





















Quote:
Quote:
Quote:
jlippiner wrote:









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.





















Quote:
Quote:
Quote:
Quote:
Thanks,





















Quote:
Quote:
Quote:
Quote:
Josh

























































































Back to top
View user's profile Send private message
Erno Mononen
Posted via mailing list.





PostPosted: Wed May 20, 2009 6:14 pm    Post subject: Netbeans 6.5.1 breakpoints DONT BREAK where 6.5 RC2 worked fine Reply with quote

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:
Erno





Quote:
jlippiner wrote:



Quote:
Quote:
Erno -









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.









Quote:
Quote:
Any thoughts?



Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Ruby Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB