Re: Tomcat stopped and Debug can't be done in Eclipse

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: Tomcat stopped and Debug can't be done in Eclipse

Karen Goh

--------------------------------------------
On Wed, 2/21/18, Konstantin Kolinko <[hidden email]> wrote:

 Subject: Re: Tomcat stopped and Debug can't be done in Eclipse
 To: "Karen Goh" <[hidden email]>
 Cc: "Tomcat Users List" <[hidden email]>
 Date: Wednesday, February 21, 2018, 5:43 AM
 
 2018-02-20 17:57 GMT+03:00 Karen
 Goh <[hidden email]>:
 >
 > Hi Konstantin,
 >
 > Can you point me some
 useful resources where I can learn about setting the Tomcat
 launch configuration.
 
 1. On
 the topic of debugging, see the following page:
 https://wiki.apache.org/tomcat/FAQ/Developing
 
 The following two items on
 that page should be interesting for you:
 a)
 "Official Eclipse IDE Web Tools FAQ for Tomcat"
 
 with links to Eclipse
 documentation
 
 b) "How
 do I configure Tomcat to support remote debugging?"
 
 This is for the use case when
 you start Tomcat separately and attach a
 debugger to an already running Tomcat.
 
 
 2. On a topic
 of simply running Tomcat (not debugging), official
 documentation is "RUNNING.txt"
 file.
 
 There is also
 http://tomcat.apache.org/tomcat-8.5-doc/setup.html
 
 Environment variables used by
 launch scripts are documented in a
 comment
 at the top of those scripts (catalina.bat, catalina.sh).
 
I have added this in my JVM under the tomcat argument for remote debug configuration :
 
-Dcatalina.opts="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"

Below, it shows that Tomcat is started

Mar 17, 2018 2:33:29 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Hi5S' did not find a matching property.
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server version:        Apache Tomcat/8.5.24
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server built:          Nov 27 2017 13:05:30 UTC
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Server number:         8.5.24.0
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Name:               Windows 10
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: OS Version:            10.0
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Architecture:          amd64
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Java Home:             C:\Program Files\Java\jre1.8.0_161
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Version:           1.8.0_161-b12
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: JVM Vendor:            Oracle Corporation
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_BASE:         C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: CATALINA_HOME:         C:\Program Files\Apache\apache-tomcat-8.5.24
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:50906
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.base=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.home=C:\Program Files\Apache\apache-tomcat-8.5.24
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dwtp.deploy=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache\apache-tomcat-8.5.24\endorsed
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dcatalina.opts=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n
Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
INFO: Command line argument: -Dfile.encoding=UTF-8
Mar 17, 2018 2:33:29 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jre1.8.0_161\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_161/bin/server;C:/Program Files/Java/jre1.8.0_161/bin;C:/Program Files/Java/jre1.8.0_161/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\MySQL\mysql-5.7.20-win32\bin;C:\Program Files\Java\jdk1.8.0_151\bin;C:\Program Files (x86)\Eclipse JEE IDE\eclipse;;.]
Mar 17, 2018 2:33:30 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-nio-8080"]
Mar 17, 2018 2:33:31 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 17, 2018 2:33:31 PM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
Mar 17, 2018 2:33:31 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
INFO: Using a shared selector for servlet write/read
Mar 17, 2018 2:33:31 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4380 ms
Mar 17, 2018 2:33:31 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service [Catalina]
Mar 17, 2018 2:33:31 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/8.5.24
Mar 17, 2018 2:33:33 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 17, 2018 2:33:43 PM org.apache.jasper.servlet.TldScanner scanJars
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2018-03-17 14:33:45,175 localhost-startStop-1 DEBUG Starting LoggerContext[name=/Hi5S] from configuration at file:/C:/Users/Karen.Goh/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/Hi5S/WEB-INF/log4j2.xml
2018-03-17 14:33:45,190 localhost-startStop-1 DEBUG Starting LoggerContext[name=/Hi5S, org.apache.logging.log4j.core.LoggerContext@64c0cbaa] with configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]...
2018-03-17 14:33:45,190 localhost-startStop-1 DEBUG Shutdown hook enabled. Registering a new one.
2018-03-17 14:33:45,205 localhost-startStop-1 DEBUG Initializing configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]
2018-03-17 14:33:45,221 localhost-startStop-1 DEBUG Installed 1 script engine
2018-03-17 14:33:46,565 localhost-startStop-1 DEBUG Oracle Nashorn version: 1.8.0_161, language: ECMAScript, threading: Not Thread Safe, compile: true, names: [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript], factory class: jdk.nashorn.api.scripting.NashornScriptEngineFactory
2018-03-17 14:33:46,570 localhost-startStop-1 DEBUG PluginManager 'Core' found 117 plugins
2018-03-17 14:33:46,571 localhost-startStop-1 DEBUG PluginManager 'Level' found 0 plugins
2018-03-17 14:33:46,588 localhost-startStop-1 DEBUG PluginManager 'Lookup' found 14 plugins
2018-03-17 14:33:46,604 localhost-startStop-1 DEBUG Building Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
2018-03-17 14:33:46,682 localhost-startStop-1 DEBUG PluginManager 'TypeConverter' found 26 plugins
2018-03-17 14:33:46,822 localhost-startStop-1 DEBUG PatternLayout$Builder(pattern="%-5p [%t]: %m%n", PatternSelector=null, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Replace=null, charset="null", alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null", header="null", footer="null")
2018-03-17 14:33:46,838 localhost-startStop-1 DEBUG PluginManager 'Converter' found 42 plugins
2018-03-17 14:33:46,838 localhost-startStop-1 DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.ConsoleAppender].
2018-03-17 14:33:46,916 localhost-startStop-1 DEBUG ConsoleAppender$Builder(target="SYSTEM_OUT", follow="null", direct="null", bufferedIo="null", bufferSize="null", immediateFlush="null", ignoreExceptions="null", PatternLayout(%-5p [%t]: %m%n), name="STDOUT", Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:46,932 localhost-startStop-1 DEBUG Starting OutputStreamManager SYSTEM_OUT.false.false
2018-03-17 14:33:46,932 localhost-startStop-1 DEBUG Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
2018-03-17 14:33:46,947 localhost-startStop-1 DEBUG createAppenders(={STDOUT})
2018-03-17 14:33:46,947 localhost-startStop-1 DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,010 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null)
2018-03-17 14:33:47,025 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2018-03-17 14:33:47,025 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="Business.RegisterService", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,057 localhost-startStop-1 DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,057 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null)
2018-03-17 14:33:47,057 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="DQOSql.tutorDAOImpl.java", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null)
2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2018-03-17 14:33:47,088 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="controller.tutorController", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="org.hibernate", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createLogger(additivity="true", level="DEBUG", name="org.hibernate.SQL", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createLogger(additivity="false", level="TRACE", name="org.hibernate.type.descriptor.sql", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG createLogger(additivity="false", level="DEBUG", name="util", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
2018-03-17 14:33:47,150 localhost-startStop-1 DEBUG createLoggers(={Business.RegisterService, DQOSql.tutorDAOImpl.java, controller.tutorController, org.hibernate, org.hibernate.SQL, org.hibernate.type.descriptor.sql, util})
2018-03-17 14:33:47,166 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
2018-03-17 14:33:47,166 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
2018-03-17 14:33:47,182 localhost-startStop-1 DEBUG Building Plugin[name=root, class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger].
2018-03-17 14:33:47,182 localhost-startStop-1 DEBUG createLogger(additivity="null", level="INFO", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG createLoggers(={root})
2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] initialized
2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Starting configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]
2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Started configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] OK.
2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false-1
2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false-1, all resources released: true
2018-03-17 14:33:47,213 localhost-startStop-1 DEBUG Appender DefaultConsole-1 stopped with status true
2018-03-17 14:33:47,213 localhost-startStop-1 DEBUG Stopped org.apache.logging.log4j.core.config.DefaultConfiguration@3177456d OK
2018-03-17 14:33:47,244 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S
2018-03-17 14:33:47,260 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=StatusLogger
2018-03-17 14:33:47,275 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=ContextSelector
2018-03-17 14:33:47,291 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=Loggers,name=
2018-03-17 14:33:47,307 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=Appenders,name=STDOUT
2018-03-17 14:33:47,369 localhost-startStop-1 DEBUG LoggerContext[name=/Hi5S, org.apache.logging.log4j.core.LoggerContext@64c0cbaa] started OK with configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml].
2018-03-17 14:33:47,369 localhost-startStop-1 DEBUG Log4jServletContextListener ensuring that Log4j starts up properly.
2018-03-17 14:33:47,369 localhost-startStop-1 DEBUG Log4jServletFilter initialized.
Mar 17, 2018 2:33:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-nio-8080"]
Mar 17, 2018 2:33:47 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-nio-8009"]
Mar 17, 2018 2:33:47 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 16089 ms


and at the internal browser, I then enter the URL to debug my app.  The URL appeared and I entered the infor into the form.

But, after I submitted my form, only a blank screen and it is not jumped to the breakpoint(s) that need debug and everything just grind to a halt :(

I hope you can tell me what is missing such that I can't get debug to work ?

Thank you.

 >
 Currently, I have the below inside my arguments :
 >
 >
 -Dcatalina.base="C:\Users\Karen.Goh\workspace3\.metadata\.plugins\org.eclipse.wst.server.core\tmp0"
 -Dcatalina.home="C:\Program
 Files\Apache\apache-tomcat-9.0.4-windows-x64\apache-tomcat-9.0.4"
 -Dwtp.deploy="C:\Users\Karen.Goh\workspace3\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps"
 -Djava.endorsed.dirs="C:\Program
 Files\Apache\apache-tomcat-9.0.4-windows-x64\apache-tomcat-9.0.4\endorsed"
 >
 > Is this the part that
 is causing Tomcat to just hang ? Or I have missed out
 something I am not aware of.  Kindly highlight please.
 
 3. When Tomcat starts, its
 actual arguments are printed by
 VersionLoggerListener.
 
 You can see them in your previous e-mail,
 Search for "Command line argument"
 http://markmail.org/message/tgymk3r43ox5ggps
 
 > Cos I can't proceed
 with any debugging at all as in run the green button :
 Please see this attachment at https://imgur.com/OQLyJFb
 
 4. In your image I see that
 your Tomcat is not running
 
 (The "Console" view at the bottom
 says "<terminated>". The
 "Servers"
 view says
 "[Stopped, Synchronized]".)
 
 How did you start it?
 
 5. My recipe will be:
 - In the
 "Servers" view select the server and deploy you
 application
 onto it (right click ->
 context menu -> ...)
 - Then click the
 small green "bug" button in the toolbar of this
 view
 (in the small toolbar right above
 "Servers" view, not the one in the
 main toolbar). The server should launch in
 debug mode.
 
 HTH
 
 > Is there any other changes I need to make
 since I am also using a maven plug in as below :
 >
 > <dependency>
 >           
 <groupId>org.apache.maven.plugins</groupId>
 >           
 <artifactId>maven-war-plugin</artifactId>
 >           
 <version>3.2.0</version>
 > 
        </dependency>
 >
 > It used to be very easy for me to do
 debugging and now things are so much complicated now.
 >
 
 Best
 regards,
 Konstantin Kolinko
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: [hidden email]
 For additional commands, e-mail: [hidden email]
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: Tomcat stopped and Debug can't be done in Eclipse

Konstantin Kolinko
/Hi!

2018-03-17 10:11 GMT+03:00 Karen Goh <[hidden email]>:
>
> I have added this in my JVM under the tomcat argument for remote debug configuration :
>
> -Dcatalina.opts="-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n"

The above line is wrong.

There is no system property "catalina.opts".
Those arguments are for java (java.exe, javaw.exe).
https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html#BABDJJFI



Note that "Remote" debugging means that you do two steps:

1. First, you start Tomcat as a normal "running" application.

If you do it from within Eclipse, use "Run", not "Debug".

See menu Run > Run Configurations...
Add those options to its "Arguments" into "VM arguments" field (not
"Program arguments")

-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n


2. Then, you start "Debug" separately.

See menu Run > Debug Configurations...

Create "Remote Java Application".

Fill in "Project" (your project),  "Port" (8000) fields and press
"Debug" to start debugging.

Eclipse will connect to Tomcat that has been started separately.


> Below, it shows that Tomcat is started
>
> Mar 17, 2018 2:33:29 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
> WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Hi5S' did not find a matching property.
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Server version:        Apache Tomcat/8.5.24
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Server built:          Nov 27 2017 13:05:30 UTC
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Server number:         8.5.24.0
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: OS Name:               Windows 10
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: OS Version:            10.0
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Architecture:          amd64
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Java Home:             C:\Program Files\Java\jre1.8.0_161
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: JVM Version:           1.8.0_161-b12
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: JVM Vendor:            Oracle Corporation
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: CATALINA_BASE:         C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: CATALINA_HOME:         C:\Program Files\Apache\apache-tomcat-8.5.24
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Command line argument: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:50906

Note the above line.
A command line argument, logged by VersionLoggerListener .

> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Command line argument: -Dcatalina.base=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Command line argument: -Dcatalina.home=C:\Program Files\Apache\apache-tomcat-8.5.24
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Command line argument: -Dwtp.deploy=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Command line argument: -Djava.endorsed.dirs=C:\Program Files\Apache\apache-tomcat-8.5.24\endorsed
> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Command line argument: -Dcatalina.opts=-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n

Note the above line.
That is what you added.

> Mar 17, 2018 2:33:29 PM org.apache.catalina.startup.VersionLoggerListener log
> INFO: Command line argument: -Dfile.encoding=UTF-8
> Mar 17, 2018 2:33:29 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
> INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jre1.8.0_161\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_161/bin/server;C:/Program Files/Java/jre1.8.0_161/bin;C:/Program Files/Java/jre1.8.0_161/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\MySQL\mysql-5.7.20-win32\bin;C:\Program Files\Java\jdk1.8.0_151\bin;C:\Program Files (x86)\Eclipse JEE IDE\eclipse;;.]
> Mar 17, 2018 2:33:30 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["http-nio-8080"]
> Mar 17, 2018 2:33:31 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
> INFO: Using a shared selector for servlet write/read
> Mar 17, 2018 2:33:31 PM org.apache.coyote.AbstractProtocol init
> INFO: Initializing ProtocolHandler ["ajp-nio-8009"]
> Mar 17, 2018 2:33:31 PM org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
> INFO: Using a shared selector for servlet write/read
> Mar 17, 2018 2:33:31 PM org.apache.catalina.startup.Catalina load
> INFO: Initialization processed in 4380 ms
> Mar 17, 2018 2:33:31 PM org.apache.catalina.core.StandardService startInternal
> INFO: Starting service [Catalina]
> Mar 17, 2018 2:33:31 PM org.apache.catalina.core.StandardEngine startInternal
> INFO: Starting Servlet Engine: Apache Tomcat/8.5.24
> Mar 17, 2018 2:33:33 PM org.apache.jasper.servlet.TldScanner scanJars
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
> Mar 17, 2018 2:33:43 PM org.apache.jasper.servlet.TldScanner scanJars
> INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
> 2018-03-17 14:33:45,175 localhost-startStop-1 DEBUG Starting LoggerContext[name=/Hi5S] from configuration at file:/C:/Users/Karen.Goh/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp2/wtpwebapps/Hi5S/WEB-INF/log4j2.xml
> 2018-03-17 14:33:45,190 localhost-startStop-1 DEBUG Starting LoggerContext[name=/Hi5S, org.apache.logging.log4j.core.LoggerContext@64c0cbaa] with configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]...
> 2018-03-17 14:33:45,190 localhost-startStop-1 DEBUG Shutdown hook enabled. Registering a new one.
> 2018-03-17 14:33:45,205 localhost-startStop-1 DEBUG Initializing configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]
> 2018-03-17 14:33:45,221 localhost-startStop-1 DEBUG Installed 1 script engine
> 2018-03-17 14:33:46,565 localhost-startStop-1 DEBUG Oracle Nashorn version: 1.8.0_161, language: ECMAScript, threading: Not Thread Safe, compile: true, names: [nashorn, Nashorn, js, JS, JavaScript, javascript, ECMAScript, ecmascript], factory class: jdk.nashorn.api.scripting.NashornScriptEngineFactory
> 2018-03-17 14:33:46,570 localhost-startStop-1 DEBUG PluginManager 'Core' found 117 plugins
> 2018-03-17 14:33:46,571 localhost-startStop-1 DEBUG PluginManager 'Level' found 0 plugins
> 2018-03-17 14:33:46,588 localhost-startStop-1 DEBUG PluginManager 'Lookup' found 14 plugins
> 2018-03-17 14:33:46,604 localhost-startStop-1 DEBUG Building Plugin[name=layout, class=org.apache.logging.log4j.core.layout.PatternLayout].
> 2018-03-17 14:33:46,682 localhost-startStop-1 DEBUG PluginManager 'TypeConverter' found 26 plugins
> 2018-03-17 14:33:46,822 localhost-startStop-1 DEBUG PatternLayout$Builder(pattern="%-5p [%t]: %m%n", PatternSelector=null, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Replace=null, charset="null", alwaysWriteExceptions="null", disableAnsi="null", noConsoleNoAnsi="null", header="null", footer="null")
> 2018-03-17 14:33:46,838 localhost-startStop-1 DEBUG PluginManager 'Converter' found 42 plugins
> 2018-03-17 14:33:46,838 localhost-startStop-1 DEBUG Building Plugin[name=appender, class=org.apache.logging.log4j.core.appender.ConsoleAppender].
> 2018-03-17 14:33:46,916 localhost-startStop-1 DEBUG ConsoleAppender$Builder(target="SYSTEM_OUT", follow="null", direct="null", bufferedIo="null", bufferSize="null", immediateFlush="null", ignoreExceptions="null", PatternLayout(%-5p [%t]: %m%n), name="STDOUT", Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:46,932 localhost-startStop-1 DEBUG Starting OutputStreamManager SYSTEM_OUT.false.false
> 2018-03-17 14:33:46,932 localhost-startStop-1 DEBUG Building Plugin[name=appenders, class=org.apache.logging.log4j.core.config.AppendersPlugin].
> 2018-03-17 14:33:46,947 localhost-startStop-1 DEBUG createAppenders(={STDOUT})
> 2018-03-17 14:33:46,947 localhost-startStop-1 DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,010 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null)
> 2018-03-17 14:33:47,025 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
> 2018-03-17 14:33:47,025 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="Business.RegisterService", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,057 localhost-startStop-1 DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,057 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null)
> 2018-03-17 14:33:47,057 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
> 2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="DQOSql.tutorDAOImpl.java", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG Building Plugin[name=appender-ref, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="INFO", Filter=null)
> 2018-03-17 14:33:47,072 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
> 2018-03-17 14:33:47,088 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="controller.tutorController", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
> 2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
> 2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG createLogger(additivity="false", level="INFO", name="org.hibernate", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,104 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createLogger(additivity="true", level="DEBUG", name="org.hibernate.SQL", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG createLogger(additivity="false", level="TRACE", name="org.hibernate.type.descriptor.sql", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,119 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
> 2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG Building Plugin[name=logger, class=org.apache.logging.log4j.core.config.LoggerConfig].
> 2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG createLogger(additivity="false", level="DEBUG", name="util", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,135 localhost-startStop-1 DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
> 2018-03-17 14:33:47,150 localhost-startStop-1 DEBUG createLoggers(={Business.RegisterService, DQOSql.tutorDAOImpl.java, controller.tutorController, org.hibernate, org.hibernate.SQL, org.hibernate.type.descriptor.sql, util})
> 2018-03-17 14:33:47,166 localhost-startStop-1 DEBUG Building Plugin[name=AppenderRef, class=org.apache.logging.log4j.core.config.AppenderRef].
> 2018-03-17 14:33:47,166 localhost-startStop-1 DEBUG createAppenderRef(ref="STDOUT", level="null", Filter=null)
> 2018-03-17 14:33:47,182 localhost-startStop-1 DEBUG Building Plugin[name=root, class=org.apache.logging.log4j.core.config.LoggerConfig$RootLogger].
> 2018-03-17 14:33:47,182 localhost-startStop-1 DEBUG createLogger(additivity="null", level="INFO", includeLocation="null", ={STDOUT}, ={}, Configuration(C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml), Filter=null)
> 2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Building Plugin[name=loggers, class=org.apache.logging.log4j.core.config.LoggersPlugin].
> 2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG createLoggers(={root})
> 2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] initialized
> 2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Starting configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml]
> 2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Started configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml] OK.
> 2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Shutting down OutputStreamManager SYSTEM_OUT.false.false-1
> 2018-03-17 14:33:47,197 localhost-startStop-1 DEBUG Shut down OutputStreamManager SYSTEM_OUT.false.false-1, all resources released: true
> 2018-03-17 14:33:47,213 localhost-startStop-1 DEBUG Appender DefaultConsole-1 stopped with status true
> 2018-03-17 14:33:47,213 localhost-startStop-1 DEBUG Stopped org.apache.logging.log4j.core.config.DefaultConfiguration@3177456d OK
> 2018-03-17 14:33:47,244 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S
> 2018-03-17 14:33:47,260 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=StatusLogger
> 2018-03-17 14:33:47,275 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=ContextSelector
> 2018-03-17 14:33:47,291 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=Loggers,name=
> 2018-03-17 14:33:47,307 localhost-startStop-1 DEBUG Registering MBean org.apache.logging.log4j2:type=/Hi5S,component=Appenders,name=STDOUT
> 2018-03-17 14:33:47,369 localhost-startStop-1 DEBUG LoggerContext[name=/Hi5S, org.apache.logging.log4j.core.LoggerContext@64c0cbaa] started OK with configuration XmlConfiguration[location=C:\Users\Karen.Goh\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\Hi5S\WEB-INF\log4j2.xml].
> 2018-03-17 14:33:47,369 localhost-startStop-1 DEBUG Log4jServletContextListener ensuring that Log4j starts up properly.
> 2018-03-17 14:33:47,369 localhost-startStop-1 DEBUG Log4jServletFilter initialized.
> Mar 17, 2018 2:33:47 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["http-nio-8080"]
> Mar 17, 2018 2:33:47 PM org.apache.coyote.AbstractProtocol start
> INFO: Starting ProtocolHandler ["ajp-nio-8009"]
> Mar 17, 2018 2:33:47 PM org.apache.catalina.startup.Catalina start
> INFO: Server startup in 16089 ms
>
>
> and at the internal browser, I then enter the URL to debug my app.  The URL appeared and I entered the infor into the form.
>
> But, after I submitted my form, only a blank screen and it is not jumped to the breakpoint(s) that need debug and everything just grind to a halt :(

Switch Eclipse to "Debug" perspective.
(menu Window > Perspective > Open Perspective > Debug)

Reset the perspective, if some panels (views) are hidden.
(menu Window > Perspective > Reset Perspective)

> I hope you can tell me what is missing such that I can't get debug to work ?
>

HTH

Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]