Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

debug_backtrace( ) bug?

Status
Not open for further replies.

thenewa2x

Programmer
Dec 10, 2002
349
US
I call a method from a class called CFG ( CFG::get("mysettings.php") ) from another class called Catalyst ( Catalyst->__Construct() ).

When I used debug_backtrace() to see where the call get() was made from i get

Code:
class    = Catalyst
type     = ->
function = get

when it should be

Code:
class    = CFG
type     = ::
function = get

What do you think? Is there anyway I can get around this problem? This worth 5 stars but I probably cannot award that many.

---------------------------------------
 
looks right to me? it came from a member function so that would ->

Binary Intelligence, true or false?
 
I don’t think it is saying that, I think that it is just how it looks on the stack. don’t you?

Age is a consequence of experience
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top