Bug 321613 - [debug view] ProcessPropertyPage run-at time field does not work unless you follow platform naming pattern
Summary: [debug view] ProcessPropertyPage run-at time field does not work unless you f...
Status: CLOSED DUPLICATE of bug 285720
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 3.7   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2010-08-03 11:18 EDT by Michael Rennie CLA
Modified: 2012-07-11 11:49 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Rennie CLA 2010-08-03 11:18:45 EDT
code from HEAD

If you add your own process debug element and the name you compute for it does not follow the platform naming, the run-at field on the property page will not be populated.

The problem comes from the way the page collects the run-at time. It uses the following regex on the label of the process:

"\\(.*\\)"

The best solution would be to add a new process attribute to IProcess so that anyone can set a run-at time.

The path field on the page is also subject to not showing the desired info as it initializes by looking for the last instance of "(" in the process label.
Comment 1 Michael Rennie CLA 2010-08-17 14:30:07 EDT
(In reply to comment #0)

> The best solution would be to add a new process attribute to IProcess so that
> anyone can set a run-at time.
> 

We could also look at using the DebugPlugin.ATTR_LAUNCH_TIMESTAMP attribute added in bug 297965
Comment 2 Michael Rennie CLA 2012-07-11 11:49:45 EDT
This will be fixed with the changes to bug 285720

*** This bug has been marked as a duplicate of bug 285720 ***