Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Added isDebuggerActive for non Windows and Mac platforms.

Commit
4d43cae9832242be97f106855b0593affdc17d6d
Author
ctt ·
Parents
01234172a9d9

Files · Download .tar.gz

Changes

 internal/catch_debugger.hpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/internal/catch_debugger.hpp b/internal/catch_debugger.hpp
index 86cab81f..18ffd7cf 100644
--- a/internal/catch_debugger.hpp
+++ b/internal/catch_debugger.hpp
@@ -86,6 +86,7 @@
    #define BreakIntoDebugger() if (IsDebuggerPresent() ) { __debugbreak(); }
 #else
 	   inline void BreakIntoDebugger(){}
+	   inline bool isDebuggerActive() { return false; }
 #endif
 
 inline void writeToDebugConsole( const std::string& text )