문제

In Eclipse, is it possible to switch an application that is Running (Ctrl+F11) to Debug (F11) mode?

I know that while the program is running in debug mode, it's possible to change the code without stopping it (hot code replace). I'm hoping that there's something similar for run configurations.

Suggestions?

도움이 되었습니까?

해결책

Not really, unless you start with some command line switches, which means you basically are really starting in debug mode but no connection to a client at startup but allow attaching a debug client (possibly remotely) later.

Why not always start it in Debug?

Hot code replace is part of the debug interface (JPDA) (since java 1.4) so not doable in normal run mode.

Hot code replace introduction:

http://docs.oracle.com/javase/1.4.2/docs/guide/jpda/enhancements.html#hotswap

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top