How to use Eclipse's Display View for Debug?

后端 未结 5 1739
猫巷女王i
猫巷女王i 2020-12-13 12:49

At the link below it explains that the \"display view allows you to manipulate live code in a scrapbook type fashion (see Figure 8). To manipulate a variable, simply type t

5条回答
  •  伪装坚强ぢ
    2020-12-13 13:34

    You can view the Display view as a place where you can inspect all sorts of variables and boolean expressions during runtime. While your debugger is frozen on a breakpoint start typing the name of an object variable for instance and you'll get autocomplete functionality as you start calling methods or fields to reach deeper class datastructures. Then when you select/mark the portion you need to inspect or everything, the buttons on the Display view will be clickable. You can always perform the Ctrl+Shift+I shortcut on the selection to view what's the current runtime state of your selection i.e. variable, object, boolean exrepssion etc

提交回复
热议问题