473,383 Members | 1,922 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

PHPCoder & DBG

i followed the instructions at the bottom of this post to a "T".

i even added c:\php\extensions to my windows path and moved my php_dbg
dll into the same extensions folder. This covers the server extension

when i run the debugger in phpcoder nothing happens. even when i take
my code and cut it in half in the middle of a php function.

does anybody have any words of wisdon to help out here?

tia...

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

Using precompiled version for Win32:
download DBG archive, and unpack it.
There are some versions of php_dbg.dll-x.x.x where x.x.x is a php
version the dll is compatible with.
from this point onwards, installation is similar to the installation
of any official PHP extension. Proceed with "Configuring server part"
topic

Configuring server part:
copy php_dbg.dll (win32) or dbg.so (linux) into appropriate directory.
Read PHP documentation on how to install PHP extension.
add extension=php_dbg.dll (win32) or extension=dbg.so (linux) entry
into php.ini file.
enable debugger: find and edit (or add new) following entries in the
php.ini file:
[debugger]
debugger.enabled = true
debugger.profiler_enabled = true
debugger.JIT_host = clienthost
debugger.JIT_port = 7869
note that clienthost is a keyword for DBG. If you use it, DBG will
automatically detect IP of each client.
run <? phpinfo(); ?> script just to make sure dbg extension is working
properly. You will see following message in the header:

with DBG v2.11.23, (C) 2000,2003 by Dmitri Dmitrienko,
http://dd.cron.ruand appropriately formed dbg section.
If you get any problems with configuring the server part, read
instructions, especially Installation of Windows extensions, then
repeat steps listed above. Do not expect DBG to work if you didn't
copy the bundled dlls from 'dlls' folder to any directory listed in
Windows PATH.
--------------------------------------------------------------------------------

Client part
DBG does not contain any graphical fron-end IDE, so you should install
one of the following:
PHPEd (Windows and Linux).
PHP Edit (Windows only).
PHP Coder (Windows only).
DBG-CLI console client (Linux/Unix).
Jul 17 '05 #1
0 1394

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Collin VanDyck | last post by:
I have a basic understanding of this, so forgive me if I am overly simplistic in my explanation of my problem.. I am trying to get a Java/Xalan transform to pass through a numeric character...
1
by: DrTebi | last post by:
Hello, I have the following problem: I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link like this: <a...
0
by: Thomas Scheffler | last post by:
Hi, I runned in trouble using XALAN for XSL-Transformation. The following snipplet show what I mean: <a href="http://blah.com/?test=test&amp;test2=test2">Test1&amp;</a> <a...
4
by: johkar | last post by:
When the output method is set to xml, even though I have CDATA around my JavaScript, the operaters of && and < are converted to XML character entities which causes errors in my JavaScript. I know...
8
by: Nathan Sokalski | last post by:
I add a JavaScript event handler to some of my Webcontrols using the Attributes.Add() method as follows: Dim jscode as String = "return (event.keyCode>=65&&event.keyCode<=90);"...
11
by: Jeremy | last post by:
How can one stop a browser from converting &amp; to & ? We have a textarea in our system wehre a user can type in some html code and have it saved to the database. When the data is retireved...
14
by: Arne | last post by:
A lot of Firefox users I know, says they have problems with validation where the ampersand sign has to be written as &amp; to be valid. I don't have Firefox my self and don't wont to install it only...
12
by: InvalidLastName | last post by:
We have been used XslTransform. .NET 1.1, for transform XML document, Dataset with xsl to HTML. Some of these html contents contain javascript and links. For example: // javascript if (a &gt; b)...
7
by: John Nagle | last post by:
I've been parsing existing HTML with BeautifulSoup, and occasionally hit content which has something like "Design & Advertising", that is, an "&" instead of an "&amp;". Is there some way I can get...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.