| Summary: | Expression,Variable,Register value column no longer shows 'Error: ...' when getFormattedExpressionValue fails. | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Winnie Lai <wlai> |
| Component: | cdt-debug-dsf | Assignee: | Project Inbox <cdt-debug-dsf-inbox> |
| Status: | RESOLVED DUPLICATE | QA Contact: | Pawel Piech <pawel.1.piech> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Winnie Lai
I believe this is the same bug as not reporting errors in expressions view. Please correct me if I'm wrong. *** This bug has been marked as a duplicate of bug 351898 *** Pawel, This is not same as bug 351898. The fix of 35198 does not help to fix Bug 352788. The reason is patch of 351898 assumes failure comes from service.getExpressionData. The root cause of this bug 352788 is FormattedValueRetriever does not propagate the status proeprly when getFormattedExpressionValue fails. This affects all views using FormattedValueRetriever. In my case, my register name is valid, nothing deal with VariableNode and getExpressionData. In my another case, I have a valid expression that does not fail getExpressionData and only fails getFormattedExpressionValue(). (In reply to comment #2) Hi Winnie, did you also consider the changes in bug 351898 comment#2. Unfortunately I hadn't produced a patch prior to committing that one. (In reply to comment #3) > (In reply to comment #2) > Hi Winnie, did you also consider the changes in bug 351898 comment#2. > Unfortunately I hadn't produced a patch prior to committing that one. I did not see there is a change to PropertiesUpdateStatus. Just quickly try the code and I see this bug is addressed. In my case, I don't need the change in VariableVMNode. Please mark this bug properly. Thanks. Marking back as duplicate after clarification. *** This bug has been marked as a duplicate of bug 351898 *** |