Date: Tue Jan 24 22:26:41 CET 2006
User: Derick Rethans
Directory: xdebug
Log Message:
[0.25]
- Implement FR #124: Add backtrace dumping information when exception thrown.
Modified files:
xdebug/xdebug.c (version: 1.291)
[FILE: /xdebug/xdebug.c]
===================================================================
RCS file: cvstemp,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -r1.290 -r1.291
--- xdebug/xdebug.c:1.290 Tue Jan 17 19:58:35 2006 GMT
+++ xdebug/xdebug.c Tue Jan 24 20:26:41 2006 GMT
@@ -1691,10 +1691,12 @@
message = zend_read_property(default_ce, exception, "message", sizeof("message")-1, 0 TSRMLS_CC);
file = zend_read_property(default_ce, exception, "file", sizeof("file")-1, 0 TSRMLS_CC);
line = zend_read_property(default_ce, exception, "line", sizeof("line")-1, 0 TSRMLS_CC);
-
+
if (!XG(context).handler->remote_error(&(XG(context)), 0, exception_ce->name, Z_STRVAL_P(message), Z_STRVAL_P(file), Z_LVAL_P(line), XG(stack))) {
XG(remote_enabled) = 0;
}
+
+ print_stack(!(strcmp("cli", sapi_module.name) == 0), exception_ce->name, Z_STRVAL_P(message), Z_STRVAL_P(file), Z_LVAL_P(line), !PG(display_errors) TSRMLS_CC);
}
}
Received on Tue Jan 24 2006 - 22:26:44 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST