new_x 1 Posted October 29, 2023 My Delphi version Delphi 11 CE, I tried to put breakpoints on the code. Just clicked on the blue dots on the left. But the Delphi behaved like there were no breakpoints when run. I put the breakpoints on the lines that the code had to call so I expected Delphi to stop at that breakpoints. But did not work. I also used Ctrl+D (formatter) but it did not make any change. Regards Share this post Link to post
Remy Lebeau 1393 Posted October 29, 2023 Are you sure you are actually running in debug mode? Share this post Link to post
DelphiUdIT 176 Posted October 29, 2023 (edited) First of all, look if you are in debug profile, like @Remy Lebau wrote: look at the Project explorer after look at "Project/Options" menu: You must look if there are some advise of line end char of your source file : end of line char should be CR+LF, if not debugger (as IDE) may not work as expected. Bye Edited October 29, 2023 by DelphiUdIT Share this post Link to post
mvanrijnen 123 Posted October 30, 2023 And make sure to use F9 (not ctrl-shift-F9), or hit the run icon with the bug. Share this post Link to post
gkobler 38 Posted October 30, 2023 13 hours ago, DelphiUdIT said: Use debug .dcus should be true Share this post Link to post
Uwe Raabe 2057 Posted October 30, 2023 30 minutes ago, gkobler said: Use debug .dcus should be true Only when you want to break or step into the Delphi units. Share this post Link to post
gkobler 38 Posted October 30, 2023 1 minute ago, Uwe Raabe said: Only when you want to break or step into the Delphi units. I think this is he asking for Share this post Link to post
Uwe Raabe 2057 Posted October 30, 2023 If Debug-DCUs is not active there will be no blue dots in the Delphi sources. Share this post Link to post
Remy Lebeau 1393 Posted October 30, 2023 7 hours ago, gkobler said: I think this is he asking for That is not the vibe I get when reading his question. He likely just wants to debug his own source code, not Delphi's framework source code. Share this post Link to post