Bug 179425 - two periods ".." appear at end of some CDT "Target request failed: ..." error messages.
Summary: two periods ".." appear at end of some CDT "Target request failed: ..." error...
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 4.0 M6   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-03-26 23:22 EDT by Ling Wang CLA
Modified: 2008-06-20 10:59 EDT (History)
0 users

See Also:


Attachments
My patch (2.00 KB, patch)
2007-03-27 00:44 EDT, Ling Wang CLA
bjorn.freeman-benson: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ling Wang CLA 2007-03-26 23:22:19 EDT
Build ID: 3.2.1

Steps To Reproduce:
Depending on CDI plugins implementation, this bug may appear at different cases.

More information:
In CDT debugger, some error messages from CDI plugin are shown with two ending periods like this:
   "Target request failed: fail to step.."
where the ".." looks like ellipsis and is not only looking bad but also misleading.
Comment 1 Ling Wang CLA 2007-03-27 00:23:53 EDT
I fixed it. 
In CDebugElement.targetRequestFailed(), only append a period to incoming message if it does not have one.
And enclosed is my patch.
Comment 2 Ling Wang CLA 2007-03-27 00:44:44 EDT
Created attachment 62051 [details]
My patch
Comment 3 Nobody - feel free to take it CLA 2007-03-29 12:00:45 EDT
Applied.