Based on the provided context, it seems that Edit and Continue for C++ projects has some limitations. According to the documentation, Edit and Continue is not supported in the following debugging scenarios:
- Debugging native apps compiled with /Zo (Enhance Optimized Debugging)
- Projects that use the VC 120 toolset and the C/C++ /bigobj switch. Edit and Continue with /bigobj is only supported in the VC 140 toolset.
- Mixed-mode (native/managed) debugging.
- JavaScript debugging.
- SQL debugging.
- Debugging a dump file.
- Editing code after an unhandled exception, when the Unwind the call stack on unhandled exceptions option is not selected.
- Debugging an app by using Attach to instead of running the app by choosing Start on the Debug menu.
- Debugging optimized code.
- Debugging an old version of your code after a new version failed to build because of build errors.
- Using a custom compiler (cl.exe) path.
It is possible that the custom build tool you are using falls under one of these unsupported scenarios, which could be why Edit and Continue is not working properly. Unfortunately, it seems that there is no way to trigger custom build commands from the default debugger in Edit and Continue.
One possible workaround could be to programmatically trigger MSBuild to build and patch the executable with the generated object file. However, it seems that this approach has also encountered some errors with the debugger detecting changes and giving an Edit and Continue error dialog box.
Based on the information provided, it is unclear if there is a way to ignore and continue using breakpoints/symbols while programmatically triggering a build. It may be worth exploring other debugging options or reaching out to Microsoft support for further assistance.
References: