This Question is Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
10 Replies Last post: Nov 30, 2011 10:43 PM by Justin Collum  
Bob Gustafson Newbie 78 posts since
Jan 4, 2011
Currently Being Moderated

Jan 25, 2011 9:29 AM

Debug - Watch variables not synced with execution

Please look at the attached partial screen dump.

 

The 'Variables' match somewhat with the execution step, although @subt should be a SubTransaction, not a SubBundle as shown.

 

The @attributes under @subb (which is a SubBundle) are correct.

The @attributes under @subt (not shown here) show that it is not a SubTransaction, but a SubBundle - exactly the same as @subb

 

In the 'Watches' window, the attributes of @subb show that it is really a SubTransaction and not a SubBundle (which it should be). In fact, the attributes in the Watch window show that @subb is actually the @subt which should be shown in the 'Variables' window.

 

-----

 

:-) I don't expect you to follow along too closely. Just accept the fact that there seems to be a sync problem between the variables and watches shown as one steps through the execution using the debugger step commands. Occasionally, things are properly synced.

 

Is it possible to get it to sync more often?

 

(I'm sorry I don't have a smaller test application to illustrate the problem).

Attachments:
Dennis Ushakov JetBrains 410 posts since
Sep 10, 2008
Currently Being Moderated
Jan 28, 2011 4:00 PM in response to: Bob Gustafson
Re: Debug - Watch variables not synced with execution

Bob, please try installing this version http://teamcity.jetbrains.com/repository/download/bt279/44841:id/ruby-debug-ide-0.4.17.alpha.gem of ruby-debug-ide gem and see if the problem with inconsistency is still there

Dennis Ushakov JetBrains 410 posts since
Sep 10, 2008
Currently Being Moderated
Jan 28, 2011 10:47 PM in response to: Bob Gustafson
Re: Debug - Watch variables not synced with execution

You can simply select Login as guest at bottom of the page

Justin Collum Newbie 15 posts since
Nov 30, 2011
Currently Being Moderated
Nov 30, 2011 10:43 PM in response to: Bob Gustafson
Re: Debug - Watch variables not synced with execution

This is happening to me as well.

 

ruby-debug-base19x (0.11.30.pre3)

ruby-debug-ide (0.4.17.beta8)

 

The Watch window has about a 50% chance of having the right object in it. I've noticed that it hasn't improved in RubyMine 4 EAP.

More Like This

  • Retrieving data ...