|[cdt-dev] How to know a build is successful|
As part of my plugin I would like to launch post build commands when the build is successful. It is kind of pressing debug and you only want to start the debugger if the build is successful.
So I launch
According to the doc; when the build fails it throws an exception
However CDT managed build does not throw a exception in case of build failure (in my plugin?). I have been looking for alternatives and through the documentation to know the "last managed build status" (like needsRebuild() and isDirty() ) but I fail to find a solid way to know whether the last build I just launched was successful or not.
So my question is: How do I know the last CDT managed build was successful? Am I looking at a bug in my plugin here?
Any pointer would be appreciated.
Back to the top