Improved debugging for Bug 1530 - Panic during startup: ALF EGL 1 NewGraphicsArchitecture
authorMattD <mattd@symbian.org>
Mon, 08 Feb 2010 18:18:38 +0000
branchNewGraphicsArchitecture
changeset 2 31d73acc5459
parent 1 dd8110ac9267
child 3 406617043e2c
Improved debugging for Bug 1530 - Panic during startup: ALF EGL 1
egl/eglrefimpl/src/entrypoints.cpp
--- a/egl/eglrefimpl/src/entrypoints.cpp	Mon Feb 08 15:55:52 2010 +0000
+++ b/egl/eglrefimpl/src/entrypoints.cpp	Mon Feb 08 18:18:38 2010 +0000
@@ -14,6 +14,7 @@
 // Reference EGL implementation to support EGL sync objects and OpenWF extensions
 
 #include "eglprivate.h"
+#include <e32debug.h>
 
 // Helper macros
 //
@@ -23,7 +24,7 @@
                                     return r; \
                                     }
 
-#define PANIC_NOT_SUPPORTED     User::Panic(KEglPanicCategory, EEglPanicNotSupported); \
+#define PANIC_NOT_SUPPORTED     RDebug::Printf("EGL Panic %s %s:%d\n",__func__,__FILE__,__LINE__);User::Panic(KEglPanicCategory, EEglPanicNotSupported); \
                                 return 0;
 
 // EGL API entrypoints