Thanks.

在 2019年7月6日星期六 UTC+8下午9:51:58,Ullrich Hafner写道:
>
> You can have a look at my docker based development environment for my 
> warnings plugin:
> https://github.com/uhafner/warnings-ng-plugin-devenv
>
> It starts the master and agent with open debugger ports so you can debug 
> master and agent code. (There is also a predefined IntelliJ launcher 
> provided to debug the remote applications.)
>
> Am 06.07.2019 um 14:23 schrieb Martin Weber <[email protected] 
> <javascript:>>:
>
> Am Samstag, 6. Juli 2019, 03:28:53 CEST schrieb Boyka Zhu:
>
> Hi,
>
> My plugin will run on remote slave, the java source codes which running on
> master  can be traced, but the codes which runs on slave cannot be traced,
> all breakpoints will be skipped.
>
>
> You need remote debugging. 
> Start the Java VM that runs the agent node with arguments that allow a 
> debugger to connect, like this
> -agentlib:jdwp=transport=dt_socket,server=y,address=8000
> See man java for details.
>
> If you use Eclipse, you would then define a 'Remote Java Application' 
> launch 
> configuration that connects to the agent node JVM. Just start that 
> configuration in debug mode and set your breakpoints.
>
> Martin
>
> -- 
> There are only two hard problems in Computer Science: cache invalidation, 
> naming things, and off-by-one errors.
>
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] <javascript:>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jenkinsci-dev/7040261.jTtysX6pI0%40linux
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/81d88862-3cc3-4446-a8a1-b9f1a36a5e1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to