NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
DBG 2.13 loaded but debugbreak() doesn't work *resolved*


Joined: 18 Dec 2006
Posts: 3
Reply with quote
Hi there,

I have problems to get the debugger working. I installed the module an it seems to be loaded, since the phpinfo() output shows:

This program makes use of the Zend Scripting Language Engine:
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with DBG v2.13.1, (C) 2000,2006, by Dmitri Dmitrienko


But when I use the function debugbreak(); in a simple php script I get the message:

Fatal error: Call to undefined function: debugbreak()

What can I do to use the Debugger?

thanks,
Hauke
View user's profileFind all posts by hpaschSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Does phpinfo show DBG section or only mentions dbg on the top header?

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 18 Dec 2006
Posts: 3
Reply with quote
it only shows the message in the header that i have posted above. there is no dbg section stated in the phpinfo().

first i have installed the precompiled module. now i've build my own module. but the problem is the same...

cheers
hauke
View user's profileFind all posts by hpaschSend private message


Joined: 18 Dec 2006
Posts: 3
Reply with quote
ok, solved the problem.
i tried to load the module as zend extension like

zend_extension=/opt/php/php-4.4.1/lib/php/extensions/no-debug-non-zts-20020429/dbg.so

but now i just load it as normal extension like

extension=dbg.so

and it works fine...

thanks anyway

hauke
View user's profileFind all posts by hpaschSend private message
DBG 2.13 loaded but debugbreak() doesn't work *resolved*
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic