Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Logging and tracing from your RCP application
Logging and tracing from your RCP application [message #755925] Thu, 10 November 2011 08:43 Go to next message
bartos is currently offline bartosFriend
Messages: 2
Registered: November 2011
Junior Member
Hi all,

I was trying to enable debug and tracing using .options configuration file, which was placed in the installation directory of my RCP application, but with no success. The content of the file looks like this:
org.eclipse.ui/debug=true
org.eclipse.ui/perf/showHeapStatus=true
org.eclipse.ui/trace/commands=true


I was wondering if it would possible to control debug settings programatically from the application code.

Any comments are welcome. Thanks in advance!
Re: Logging and tracing from your RCP application [message #755975 is a reply to message #755925] Thu, 10 November 2011 11:11 Go to previous message
bartos is currently offline bartosFriend
Messages: 2
Registered: November 2011
Junior Member
I solved it. The problem was the order of the options in the application configuration file (appname.ini). As a result the debug mode was disabled. All platform settings always have to be put before -vmargs option.

In my case:
-trace
-debuf
-clean

-vmargs
-Xmx512M
-Xms128M

[Updated on: Thu, 10 November 2011 11:17]

Report message to a moderator

Previous Topic:Juint plug-in test blocked by popup window
Next Topic:pluginPath and dependencies from remote p2 repositories
Goto Forum:
  


Current Time: Thu Apr 25 19:11:05 GMT 2024

Powered by FUDForum. Page generated in 0.02565 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top