Bug 579049 - Update Platform Tips & Tricks for 4.23 Change-Id: I519f537a2bdba554dc69b2761d080b08fdee91e5 Signed-off-by: Vikas Chandra <Vikas.Chandra@in.ibm.com> Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.common/+/191346
diff --git a/bundles/org.eclipse.platform.doc.user/tips/images/process_properties.png b/bundles/org.eclipse.platform.doc.user/tips/images/process_properties.png new file mode 100644 index 0000000..c290221 --- /dev/null +++ b/bundles/org.eclipse.platform.doc.user/tips/images/process_properties.png Binary files differ
diff --git a/bundles/org.eclipse.platform.doc.user/tips/images/show_pid.png b/bundles/org.eclipse.platform.doc.user/tips/images/show_pid.png new file mode 100644 index 0000000..3fab071 --- /dev/null +++ b/bundles/org.eclipse.platform.doc.user/tips/images/show_pid.png Binary files differ
diff --git a/bundles/org.eclipse.platform.doc.user/tips/platform_tips.html b/bundles/org.eclipse.platform.doc.user/tips/platform_tips.html index 6fa21f0..8ce72d2 100644 --- a/bundles/org.eclipse.platform.doc.user/tips/platform_tips.html +++ b/bundles/org.eclipse.platform.doc.user/tips/platform_tips.html
@@ -22,6 +22,20 @@ </ul> <h3><a name="Workbench" id="Workbench">Workbench</a></h3> <table border="1" cellpadding="10" cellspacing="0"> + <tr> + <td width="20%" valign="top" align="left"><b>Process ID in Debugger</b></td> + <td width="80%" valign="top" align="left">Eclipse Debug framework can now show process ID (pid) of the started processes. + The pid is shown (if supported by the concrete debugger implementation) in the <b>Console</b> + view description and <b>Properties</b> page for the process. + <p><img src="images/process_properties.png" alt="Process properties page shows process ID"></p> + <p> + This should work out of the box for all + processes using or extending <code>org.eclipse.debug.core.model.RuntimeProcess</code>, and can be + easily added to other processes by specifying <code>IProcess.ATTR_PROCESS_ID</code> process attribute. + </p> + <p>Additionally, the <b>Java debugger</b> now shows process id for the process element in the <b>Debug</b> view.</p> + <p><img src="images/show_pid.png" alt="Debugger shows process ID"></p></td> + </tr> <tr> <td width="20%" valign="top" align="left"><b>Using the dark theme</b></td> <td width="80%" valign="top" align="left">