ID:               25733
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Bogus
 Bug Type:         Feature/Change Request
 Operating System: any
 PHP Version:      Irrelevant
 New Comment:

RTFM: debug_backtrace()



Previous Comments:
------------------------------------------------------------------------

[2003-10-02 12:49:56] [EMAIL PROTECTED]

Description:
------------
When you have a large script, which uses the same few functions
multiple times, there should be a way to determine WHERE the
function-call came from that made an error.

Eg:
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index
49 in /home/site/public_html/db/mysql.php on line 54

doesn't help much when the function is ran from
/home/site/public_html/index.php line 16 (and 19,20,22,26,28, etc.)

To ease the bugfixing I suggest that some extra information be added,
so these errors would eg. show:
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index
49 in /home/site/public_html/db/mysql.php on line 54: called from
/home/site/public_html/index.php(16)

Reproduce code:
---------------
n/a

Expected result:
----------------
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index
49 in /home/site/public_html/db/mysql.php on line 54: called from
/home/site/public_html/index.php(16)

Actual result:
--------------
Warning: mysql_result(): Unable to jump to row 0 on MySQL result index
49 in /home/site/public_html/db/mysql.php on line 54


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=25733&edit=1

Reply via email to