Bug 315297 - Disassembly refresh view more than once
Summary: Disassembly refresh view more than once
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 16:41 EDT by Patrick Chuong CLA
Modified: 2020-09-04 15:26 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Chuong CLA 2010-06-01 16:41:36 EDT
Build Identifier: 201005241228

I have a gdb/dfs debug session, open the disassembly view and hit the refresh button, and the view update it self more than once. But when you enter an address in the view, there is no double refresh, the view simply show the data when it is avaliable.

Reproducible: Always
Comment 1 Anton Leherbauer CLA 2010-06-04 04:27:32 EDT
I assume with "update itself more than once" you mean: It makes multiple requests for data.

This is to be expected for 2 reasons:
- There are heuristics and fallbacks to workaround cases where the backend (GDB) 
  does not produce satisfying output.
- The view makes requests for data as long as the visible area (+ some buffer
  space) is not completely filled.

So, from my POV this is a WONTFIX, but if you can provide a patch to improve this, I'll leave it open.
Comment 2 Patrick Chuong CLA 2010-06-04 11:58:07 EDT
(In reply to comment #1)
> I assume with "update itself more than once" you mean: It makes multiple
> requests for data.

I see the view goes blank with "..." and than the data is populated. Where as when you enter an address in the combo box, the view refresh without blanking out in the first place.

If this is something that is not easily done by preventing the view to repaint during update, than I wouldn't push it to get fix.

I can't promiss when I would be able to spend time to look into this issue, there are other more critical issue that required my attention at the moment. Unless some one feel it should stays open, you can close this defect.
Comment 3 Anton Leherbauer CLA 2010-06-07 02:37:57 EDT
(In reply to comment #2)
> I see the view goes blank with "..." and than the data is populated. Where as
> when you enter an address in the combo box, the view refresh without blanking
> out in the first place.

A refresh means to clear out all cached information from the view.
Entering an address just means to position to this address and fetch the data.
That's two different things.