Debug Configuration

Create Debug Configuration

Select Run/Debug Configurations... from the menu

Create new Eclipse Application

 

Tab 1 - Main

install-200-config-main-1812

 

Tab 2 - Arguments

install-210-config-arguments-1812

 

Examples for the arguments:

Program arguments

-consoleLog
-debug
-nl en_GB

 

VM arguments

-Xms256m
-Xmx4096m
-Dxxxorg.slf4j.simpleLogger.defaultLogLevel=DEBUG
-DxxxcreateRandomTourId
-DxxxlogCalendarProfile
-DxxxlogFitData
-DxxxlogStatisticValues
-DxxxlogWeatherData
-DxxxscrambleData

With xxx then this argument is disabled, to enable it, remove xxx.

 

Tab 3 - Plugins

How-To select plug-ins in the Plug-ins tab

It is important to select plugins in this sequence

  1. Select plug-ins selected below only
    Do not select Workspace ! as it could select plugins which are not necessary and can couse lot of problems
  2. Press button: Deselect All  to start from scratch
  3. Ensure the marked options 3. are deselected
  4. Check only plug-ins which are checked below in the screenshot
    The blue marked plugins are platform specific for Windows 64 bit, on other platforms select the corresponding plugins
  5. Press button: Add Required Plug-ins
  6. Info how many plug-ins are selected
    These numbers can be differen, depending on which plug-ins are installed in the IDE


To display the log view in the application, the plugin org.eclipse.ui.views.log can also be checked.

 

install-220-config-plug-ins-1812-marked

 

Tab 4 - Configuration

install-230-config-configuration-1811

 

Tab 5 - Tracing

install-240-config-tracing-1811
 

Tab 6 - Environment

install-250-config-environment-1811

 

Tab 7 - Common

install-260-config-common-1811

 

Tab 8 - Prototype

install-270-config-prototype-1811

 

 

Debug Application

Here is an example console log, when the application starts successfully with the Debug button: example-debug-log-1813.txt

Ignore the error FileNotFoundException which is displayed in the log, the application still runs.

 

Code Style...

 

 

 

 

 

This page is updated for version 21.3