Solved TD-20916: IDE debugging: no realtime GUI updates on objects

Report TD 5.x and 6.x bugs and possible workarounds.
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3512
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

TD-20916: IDE debugging: no realtime GUI updates on objects

Post by Dave Rabelink » 14 May 2014, 14:11

TD 6.2 has been changed (or made broken) the way GUI objects are updated while debugging code.

In earlier TD versions, stepping through code which changes the GUI objects (like setting texts, updating colors, inserting items in tables and listboxes etc) did update these objects in realtime.
But unfortunately, this does not work in TD6.2 !

The GUI objects (most of them) are not updated while debugging and will get updated after you continue (run) the execution.

For instance, adding a row in a table, setting column texts do not show.

This makes our work much harder, because the only way to see what the code does on the GUI objects visually is to evaluate SalUpdateWindow( object ) in the evaluate window.

I really hope this is an issue in the debugger and will be fixed and not a conscious decision.

See testcase. Place breakpoint at the first line of the function and step through the code.
Make sure the form and the IDE are both visible at the same time to see if the objects get updated.
Compare with TD6.1, the GUI is updated like expected. In TD6.2 (SP2) these objects are NOT updated:

ChildTable, Listbox, combobox, checkbox, radiobutton, colors on cb,rb,pic,lbx,tbl and pb

(test application saved in TD 6.1 format)
IDE_RealtimeGuiUpdate.zip

PS
I can not check TD 6.1 IDE from SP2 to SP5 and TD 6.2 to SP1.
Please confirm this behavior in other TD versions (Sp's) to see when this has been introduced.
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3512
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-20916: IDE debugging: no realtime GUI updates on objects

Post by Dave Rabelink » 27 May 2014, 11:17

For your information.

Gupta has assigned a defect number for this issue:

TD-20916 : IDE debugging: no realtime GUI updates on objects
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
Posts: 3512
Joined: 24 Feb 2017, 09:12
Location: Gouda, The Netherlands

Re: TD-20916: IDE debugging: no realtime GUI updates on objects

Post by Dave Rabelink » 09 Feb 2015, 09:02

For your information:

This defect is assigned to the TD6.3 SP1 release.
Regards,
Dave Rabelink

Image
Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 7 guests