Skip to Content

Java Debugging of Work Manager 6.4

Experts,

I am facing an issue while trying to debug java code in Work Manager. I have setup the debugging as mentioned in Debug SMP 3.0 Agentry Java in Eclipse. However, the debugger doesn't stop at break point. The server is in remote machine, how can i have the debugger stop at local code in eclipse?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Feb 17, 2017 at 02:52 PM

    Are you sure the remote server is running with java debugging enabled? Do you see eclipse connected to the running instance in the Debug perspective?

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 20, 2017 at 05:44 PM

    I usually start my server via the command

    c:\SAP\MobilePlatform3\Server\go.bat -debug 8000

    This will start the server listening on port 8000 for remote debugging requests. Then in Eclipse you need to define a Debug Configuration for a Remote Java Application that points to your server / port. Then when you run that debug configuration eclipse will attach to the SMP server and you can then set and stop and breakpoints.

    --Bill

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks Bill. I was able to get the debugging working by adding command line -Xdebug -Xrunjdwp:transport=dt_socket,address=7003(other than angel front end port),server=y,suspend=n to prop.ini file and also configuring host/port in eclipse.

      Thanks for the guidance.