-
Notifications
You must be signed in to change notification settings - Fork 82
Exception in Netbeans when stopping at breakpoint #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
could you please try to run ruby debugger in verbose mode and provide its output |
Yes, but how do I run ruby-debug-ide in verbose mode? |
Unfortunately I'm do not know :( I'd suggest you to contact Netbeans' team |
you need to pass "--debug" argument to rdebug-ide somehow |
I have tried to uncomment in ruby-debug-ide-0.4.23.beta1/bin/rdebug-ide: opts.on("-d", "--debug", "Debug self - prints information for debugging ruby-debug itself") do
endBut I can't see anything other than the normal stuff in development.log, perhaps it logs somewhere else? I also sent an error report to Netbeans and perhaps their answer can be a lead: GUEST: Waiting for variables to display" |
Now it worked, the following is logged after stopping at a breakpoint, when I switch to the variables tab:
|
We have extended the protocol (variable node contains value sub-node) which is supposed to be compatible from xml point of view but debugcommons (which is used by Netbeans) is not prepared for this change. So you should either use 0.4.23.beta1 or ask Netbeans team to fix debugcommons (I will be happy to help them if they need such help) |
I use the following:
Netbeans 8.0.1
CentOS
ruby-debug-ide-0.4.23.beta9
When stopping at breakpoint the following exception occurs in Netbeans:
java.lang.IllegalStateException: Unexpected event. Expecting variable end tag.value
at org.rubyforge.debugcommons.reader.XmlStreamReader.ensureEndTag(XmlStreamReader.java:41)
at org.rubyforge.debugcommons.reader.VariablesReader.parseVariables(VariablesReader.java:90)
at org.rubyforge.debugcommons.reader.VariablesReader.parse(VariablesReader.java:48)
at org.rubyforge.debugcommons.reader.VariablesReader.readVariables(VariablesReader.java:105)
at org.rubyforge.debugcommons.ReadersSupport.processElement(ReadersSupport.java:156)
at org.rubyforge.debugcommons.ReadersSupport.startXPPLoop(ReadersSupport.java:116)
at org.rubyforge.debugcommons.ReadersSupport.access$200(ReadersSupport.java:44)
[catch] at org.rubyforge.debugcommons.ReadersSupport$XPPLoop.run(ReadersSupport.java:271)
This didn't occur on ruby-debug-ide-0.4.23.beta1.
I tried ruby-debug-ide-0.4.23.beta7 before and I had problems with breakpoints and I think it was same problem. I returned to ruby-debug-ide-0.4.23.beta1 anyway.
The text was updated successfully, but these errors were encountered: