Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [platform-debug-dev] Need info on -debug and .options usage

Hi Chethan,
 
if you want to debug an existing plug-in then you need to import it into your workspace, set your breakpoints and then launch another eclipse instance from this base instance ( and not from the command line as you seem to have done).
 
The following article http://www.eclipse.org/articles/Article-PDE-does-plugins/PDE-intro.html , section Testing the Plug-in, describes a little more about the mechanics behind the scenes. For details about launch configurations you may also want to look at http://127.0.0.1:61605/help/topic/org.eclipse.pde.doc.user/guide/pde_running.htm PDE Guide / Getting started / Basic Plug-in  Tutorial / Running a plug-in in the online help topics.
 
Hope this helps
 
 
Norbert


Von: platform-debug-dev-bounces@xxxxxxxxxxx [mailto:platform-debug-dev-bounces@xxxxxxxxxxx] Im Auftrag von Chethan Rn
Gesendet: Mittwoch, 9. November 2005 07:38
An: platform-debug-dev@xxxxxxxxxxx
Betreff: [platform-debug-dev] Need info on -debug and .options usage

Hello,

            I need to launch eclipse in debug mode and want to put breakpoint for the below eclipse class

org.eclipse.ui.internal.ide.actions.OpenWorkspaceAction.java ==è Line # 122 or method (private String buildCommandLine(String workspace)). I tried launching eclipse in debug mode with command “eclipise.exe – debug “. But the control did not stop @my breakpoint on the desired operation (Switch WorkSpace). I could not make out the usage from below eclipse help doc. Could anybody explain with example and the format/contents of “.options” file.

 

Eclipse doc

 

-debug [options file] (OSGi)

equivalent to setting osgi.debug to [options file] or the empty string to simply enable debug (i.e., if the options file location is not specified)

 

Thanks in advance

Chethan

_______________
Siebel
IT'S ALL ABOUT THE CUSTOMER
Visit www.siebel.com

This e-mail message is for the sole use of the intended recipient(s) and contains confidential and/or privileged information belonging to Siebel Systems, Inc. or its customers or partners. Any unauthorized review, use, copying, disclosure or distribution of this message is strictly prohibited. If you are not an intended recipient of this message, please contact the sender by reply e-mail and destroy all soft and hard copies of the message and any attachments. Thank you for your cooperation.


Back to the top