I copied an Eclipse Java project and tried to run the debugger on the copied version. The debugger used the code of the old project. What can I do in this situation?
Open up Eclipse. Go to the run menu and select debug configurations. From the debugger tab, change the gdb debugger from gdb to undodb-gdb to enable reversible debugging. Enable reverse debugging at startup to enable reverse debug.
Click on Window -> Open Perspective -> Debug. Click on Tab Variables. Right click the variable for which you want to change the value and click on Change Value... Set the Value as Boolean.
When you're debugging, Eclipse will stop at breakpoints and allow other debugging actions (view running threads, etc.). When you run, it won't. If you start by selecting "Run", you can later attach the debugger through the Device view. That will switch to "Debug" mode.
Right-click on the top frame in the debugger's stack view, and select "Edit source lookup...". Remove the incorrect source entry from the list, and/or add the correct one.
Have a look at the launch configuration that you are using to start the debugger. In the Package/Project explorer, do right-click Debug As..
and then select Debug Configurations
and make sure all of the details of the launch configuration you are using line up with your new project.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With