NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
help me understand how debugging works.


Joined: 08 Sep 2004
Posts: 3
Reply with quote
I have read the FAQ but am still confused.

I'm looking at DBG as a way to help me profile an application. It is taking over 2 seconds for it to load and I want to identify what functions are consuming the most time.

I am confused as to how to use DBG. I am running PHP 4.3.4 on a redhat linux webserver. My client machine is Mac OSX 10.3 with the Safari web browser.

I have compiled and installed the server module:
Quote:
Version 2.11.30

Linked as a shared library.

Profiler compiled, enabled

debugger.enable_session_cookie On
debugger.enabled On
debugger.fail_silently On
debugger.ignore_nops Off
debugger.JIT_enabled Off
debugger.JIT_host clienthost
debugger.JIT_level 3
debugger.JIT_port 7869
debugger.profiler_enabled On
debugger.session_nocache On
debugger.timeout_seconds 300


Now do I need to compile and install the dbg_client on my OSX machine? (I have tried to do so without success, as I got an error in make)

If I understand the documentation right, the server module will try to establish a connection with the dbg_client running on my OSX machine when I make request for the script with Safari?
View user's profileFind all posts by fahrvergnuugenSend private messageAIM Address


Joined: 08 Sep 2004
Posts: 3
Reply with quote
I guess partly why I'm confused is because I do not use an IDE (and don't really see the need to). Do you HAVE to use an IDE in order to profile code?
View user's profileFind all posts by fahrvergnuugenSend private messageAIM Address
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
dbg-cli-2.11.30 does not support profiling so... the only way is to use an IDE.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
help me understand how debugging works.
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