Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse buttons like Step in, Step out, resume etc.. not working

I am debugging my code but the Debug tools are not clickable (i.e Step in , Step out , resume etc).I might have changed the settings accidently , but I dont know where to reset it .

I am new to use Eclipse and android , Please help me

Debug Buttons

like image 545
chitranna Avatar asked Oct 16 '12 10:10

chitranna


People also ask

How do you step through in eclipse?

Simply put, you can run your code in Debug Mode by pressing only F11 or clicking that little bug on the top of the screen. Use F5 to trace into, F6 to step over, CTRL-SHIFT-B to set/remove breakpoints.

How do I enable break points in eclipse?

Breakpoints To define a breakpoint in your source code, right-click in the left margin in the Java editor and select Toggle Breakpoint. Alternatively, you can double-click on this position. The Breakpoints view allows you to delete and deactivate Breakpoints and modify their properties.

When debugging what happens when you select the resume button?

Figure 4-2. The Debug view lets you control and monitor execution of multiple programs and threads. To continue running after a breakpoint, click on the Resume button in the Debug view's toolbar ( ) or press F8 (Run → Resume). Execution will continue until the next breakpoint is hit or the program terminates.


2 Answers

In the "Debug" perspective, there is a "Debug" view which shows the threads of the application being debugged: Eclipse Debug view in Debug perspective

There's a little menu in the top right corner, with an option "Show Debug Toolbar". Select that, et voilá:

Eclipse Debug view in Debug perspective with Debug Toolbar visible

like image 65
Matt Connolly Avatar answered Oct 25 '22 08:10

Matt Connolly


Sometimes it helps to clean the eclipse workspace - just start eclipse with -clean and the debug buttons work again.

like image 31
user4990991 Avatar answered Oct 25 '22 06:10

user4990991