OK, I understand CEF4Delphi creates a duplicate of my exe (don't know why but know it does).
Scenario: working in Delphi making changes and testing to my email program.
My "production" version of email is also running.
Ok, I get to some point in my development version, stopped at some breakpoints, stepping through code, and realize there is a problem in my code. I am ten levels deep in routine calls so just reset, Ctrl F2.
In the past, occasionally I could not re-compile (cannot create exe). Lately it seems to happen almost every time, so I have to kill the exe from TaskMan. With the live version running it is hit or miss.
Ideas?
Thanks
Ken
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Ctrl F2 when debugging a program using CEF4Delphi
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Ctrl F2 when debugging a program using CEF4Delphi
Chromium uses multiple processes for stability reasons. CEF uses the same application executable or a different EXE to handle all those subprocesses.KenS wrote: Mon Dec 02, 2024 6:24 am OK, I understand CEF4Delphi creates a duplicate of my exe (don't know why but know it does).
Read the following links for all the details :
https://www.briskbard.com/index.php?lang=en&pageid=cef#firststeps
https://www.chromium.org/developers/design-documents/multi-process-architecture/
Applications using CEF browsers should be closed following the destruction steps described in the code comments of the demos.KenS wrote: Mon Dec 02, 2024 6:24 am Scenario: working in Delphi making changes and testing to my email program.
My "production" version of email is also running.
Ok, I get to some point in my development version, stopped at some breakpoints, stepping through code, and realize there is a problem in my code. I am ten levels deep in routine calls so just reset, Ctrl F2.
In the past, occasionally I could not re-compile (cannot create exe). Lately it seems to happen almost every time, so I have to kill the exe from TaskMan. With the live version running it is hit or miss.
Ideas?
Thanks
Ken
Killing the application process abruptly from the IDE may leave some of the subprocesses running.
Re: Ctrl F2 when debugging a program using CEF4Delphi
Sorry, been away. Thanks for the info.
Ken
Ken