Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IDE Debugger not working
#6
First you need to identify if this is something caused by the environment or it's project-specific.

- Restart the IDE (I'd even restart the machine itself, it won't hurt).
- Create a new blank project (VCL standard application).
- Add a button to it, add an event to its OnClick.
- Put a breakpoint there and try to debug it.

See if it works.

If it doesn't work, you have a IDE/compiler issue. In this case I recommend you to open the global options and check one by one. Check all paths in Library Path settings as well.

If it works, try to do the same with the other (the original) project. See if it works now.
If it doesn't work, you have a project-specific issue.

One of the best ways to fix this is:
- close your IDE
- rename your .DPROJ file to something else (so you can restore it later)
- Start the IDE again and open the project (you will need to select the .DPR file instead, because there won't be a .DPROJ file anymore)
- Delphi will create a new default .DPROJ file for you when you save your project, using the default options
- Now, try to build the project again and debug it. It will very likely work now (if the test using the standard VCL empty project also worked, of course)
- If it works, there is something wrong with your original settings. I suggest you to get rid of that file and use the newly created one.

Other things to try:

- Delete all files generated by the compiler for this project: .DCU, .MAP, .EXE, whatever is generated, delete it manually
- Change the folder used for output (both DCU and BIN folders)
- Double check if you don't have a duplicate folder containing the same code base (a slightly different working version of the same code base will create this exact same mess)
- Build the project and try again
Reply


Messages In This Thread
IDE Debugger not working - by Comograma - 07-15-2021, 09:34 AM
RE: IDE Debugger not working - by DanBarclay - 07-15-2021, 08:06 PM
RE: IDE Debugger not working - by kudzu - 07-15-2021, 08:21 PM
RE: IDE Debugger not working - by Comograma - 07-16-2021, 03:28 PM
RE: IDE Debugger not working - by kudzu - 07-16-2021, 06:03 PM
RE: IDE Debugger not working - by Alexandre Machado - 07-18-2021, 10:03 PM
RE: IDE Debugger not working - by Comograma - 07-19-2021, 05:59 PM
RE: IDE Debugger not working - by DanBarclay - 07-19-2021, 07:26 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)