Break on assertion failures.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 27 Apr 2006 05:40:27 +0000 (05:40 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 27 Apr 2006 05:40:27 +0000 (05:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@598 38d2e660-2303-0410-9eaa-f027e97ec537

drv/kdebug.c

index 502711500c79f48cc36498df06a35b3e6cfa0a2b..1bf07e43eda21ded245be6abc51e5ee5c29b78ef 100755 (executable)
@@ -15,6 +15,9 @@
 
 /*#*
  *#* $Log$
+ *#* Revision 1.26  2006/04/27 05:40:27  bernie
+ *#* Break on assertion failures.
+ *#*
  *#* Revision 1.25  2005/06/27 21:26:24  bernie
  *#* Misc PGM fixes.
  *#*
@@ -347,6 +350,7 @@ int PGM_FUNC(__assert)(const char * PGM_ATTR cond, const char * PGM_ATTR file, i
        PGM_FUNC(kputs)(PGM_STR("Assertion failed: "));
        PGM_FUNC(kputs)(cond);
        kputchar('\n');
+       BREAKPOINT;
        return 1;
 }