Short Version:
Eclipse: (In Debug mode)
1. Window -> Show View -> Display
2. Enter your command
3. select the code to be run, then press CMD+Shift+D -> Shows results in the window
4. select the code to be run, then press CMD+Shift+I -> Shows results in popup - very helpful
5. System.out.println -> Shows in command
StackOverFlow Ref:
If you want to run commands in Java Debugging mode, here you go!
In Eclipse:
1. In Debug Mode, make 'Display' window visible: Window -> Show View -> Display
2. Enter your command in 'Display' console
3. Select the command and press CMD+Shift+D, which Shows results in the window
4. Select the command and press CMD+Shift+I, which Shows results in popup - very helpful
5. Ultimately, you can use System.out.println to put in console log
No comments:
Post a Comment