Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321613

Summary: [debug view] ProcessPropertyPage run-at time field does not work unless you follow platform naming pattern
Product: [Eclipse Project] Platform Reporter: Michael Rennie <Michael_Rennie>
Component: DebugAssignee: Platform-Debug-Inbox <platform-debug-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: pawel.1.piech
Version: 3.7Keywords: api
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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 ***