Jump to content
Registration disabled at the moment Read more... Ă—
Sign in to follow this  
hukmac

D12.1: Debugger Assertion Failure in pcntrlsrv.cpp

Recommended Posts

Hello! 🙂

 

I'm working in Delphi 12.1 CE (patch 1) @Win10 22H2.

For many weeks Delphi IDE was running fine, but today it sudenly started showing message "Debugger Assertion Failure "" in pcntrlsrv.cpp at line 449" (in 64bit mode). I reverted changes in my project to the state in which this was not happening previously but this was not helpful. The exe of my app is being built properly and when run outside IDE it behaves correctly. But there is no possibility to run the code inside IDE with debugger (both in debug and in release mode IDE shows the above message). "Run without debugging" works fine, debugging in 32 bit mode also works fine.

 

Do you have any ideas what can be the reason for such behaviour and how to make the IDE/debugger to work properly in 64 bit mode again ? Restart of IDE, switching target, release/debug modes, erasing all dcus and restarting OS was not helpful.

 

Remark: I have found that similar problems were reported in the past but I found nothing about my failure (https://martinvirgil.wordpress.com/2012/09/05/delphi-assertion-failure-using-windows-7-64bit/)

 

Edited by hukmac

Share this post


Link to post

Update: I have done additional check - created new project (one form, one button). Unfortunately behaviour is exactly as described above. So it is not related with the project. Any ideas how to fix it? Have anyone had such an issue and maybe fixed it by reinstalling IDE?

Edited by hukmac

Share this post


Link to post

Antivirus / security software can mess up debugging. Excluding the IDE (bds.exe) sometimes helps with odd errors that seem to start happening without changes in code or the IDE.

Edited by Brian Evans

Share this post


Link to post

Thank you for the idea. No antivirus/security in the system except the Win built-in one. But I will investigate it.

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
Sign in to follow this  

Ă—