How to use Eclipse interactive console in debug

前端 未结 5 2160
情书的邮戳
情书的邮戳 2021-02-18 17:11

I\'m trying to play with debug in Android app and, when a breakpoint is encountered, Eclipse shows me a lot of windows, one of which is the \"Interactive Console\" with a prompt

5条回答
  •  眼角桃花
    2021-02-18 18:04

    Window - Show View - Debug - Display

    That will provide you with a window to enter statements and execute/inspect them. This is a feature that's available in core eclipse platform. It works in most cases for Android based projects as well.

    More info on the display view can be found here : http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/debug/ref-debug_view.htm

    For a nice overview of the debugging features of Eclipse, check out this post : http://www.cavdar.net/2008/09/13/5-tips-for-debugging-java-code-in-eclipse/

提交回复
热议问题