Jump to content
new_x

Breakpoints do not work.

Recommended Posts

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

First of all, look if you are in debug profile, like @Remy Lebau wrote: look at the Project explorer

 

image.png.09dc71fb52fbebb144bc7c7fb089ed2b.png

 

after look at "Project/Options" menu:

 

image.thumb.png.c720067ef1b2c2ec3e4e3b92e68ce5de.png

 

image.thumb.png.aa4fb87814214eaea7a2c9fd7c751afa.png

 

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 by DelphiUdIT

Share this post


Link to post
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
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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×