Delphi Debugger not working
I installed Delphi 10.1 Berlin over a month ago and the debugger doesn't work. I have now installed Delphi 10.2 Tokio and have the same problem. I wrote a simple program by dropping a label on a form and in the form create event placed a single line of code: Label1.caption:='Hello'. I placed a breakpoint on the line of code (a red circle appears) but when I run the application the breakpoint is ignored. Run to cursor also doesn't work. I made sure the program was in debug mode and tried clean and build and still it doesn't work. I have Windows 10 operating system and now have three versions of Delphi on my computer: 7, 10.1 & 10.2 and only Delphi 7 works perfectly. Any ideas why debug is not working? and both 10.1 & 10.2?
for me with "break point" the same, but are working correctly F4 and F7 and F8..
funny, but 10.1 and 10.2 by defaul run without Debuging. :) For this You must press F9.
If you are in Release mode you can not debug the code. You need to change it to Debug mode on the Project Manager panel.
Delphi 7 doesn't have Separate Release and Debug mode so it will work.
Hope it will help