Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tcf-dev] Memory Monitors - Invalid Bytes

Hi All,

 

Before submitting this to the Bugzilla I want to check if it is a bug or we are misusing the Memory Service, maybe someone could help.

 

Our memory has some areas that aren’t accessible at byte level (e.g. protected) so the agent sends back an error report plus an array of error addresses objects as documented on:

http://git.eclipse.org/c/tcf/org.eclipse.tcf.git/plain/docs/TCF%20Service%20-%20Memory.html

 

{ "addr" : <int: range starting address> , "size" : <int: range length in bytes> , "stat" : <int: status code> , "msg" : <object: error description> }

 

These locations we are marking as BYTE_CANNOT_READ, providing all parameters into the error address list (addr, size, stat and msg)

 

The thing works somehow, but the problem is that the TCF GUI is unnecessarily incrementing the StartBound asking the agent for the content until the invalid bytes are not in the request window.

 

This results to a read that’s very slow. After finally ending reading the GUI displays correctly the ?? on the locations that were marked as invalid.

 

Does someone experienced such a problem?

 

Thanks,

Daniel

 

 


Back to the top