I couldn't find any suitable documentation for the same. In any case, which is the best way to generate trace reports while running a JVM process (a tool provided by SUN in its JDK bundle preferably) so that any JVM crashes can be logged?
Thanks in advance,
z0ltan
...
I have the following folder structure:
/main
/loader.php
/build.xml
/components
/package1
/class1.php
/package2
/class2.php
/tests
/package1
/class1.test.php
/package2
/class2.test.php
When I run the web application I load loader.php at fir...
Hi guys,
Have tried for quite some time to get this to work correctly but to no luck. Basically, I have Eclipse (3.3) with PHP Development Tools (PDT), and the PDT XDebug plugin as well as the SimpleTest eclipse plugin.
What I want to do is debug code invoked by SimpleTest unit tests. SimpleTest clearly can see XDebug, because I can ge...
I have recently switched to using Netbeans (6.7 RC1) on a Mac, using MAMP as stack. I have Xdebug installed and working.
Previously I used Zend Studio 5.5 with the Firefox Zend toolbar. This had a great feature that allowed you to click 'Debug next page'. When you submitted the form it would then start the debug process.
How do I do so...
I have XDebug enabled on my XAMPP installation. I've used XDebug + Wincachegrind to profile my code for some time. Recently XDebug started throwing some weird stuff into cachegrind.out files.
Examples of weird stuff:
fl=fl=php:internal
fn=php::ini_set
127 7
and
fl=C:\xampp\htdocs\drupal-5.7\includes\session.inc
fn=sess_close
0 3
=1...
I'm using Vista and need to debug PHP, XDebug crashes in Vista, I tried several suggestions but nothing works.
Are there there any other alternative to XDebug that works on Vista and with Eclipse PDT. Easy to install is a plus :-)
Edit: also I have Ubuntu in other PC, so any debugger for Ubuntu will work too. In the package list is a X...
I'm trying to use codeigniter and xdebug. When I go to http://localhost/redux/index.php, it works. When I go to http://localhost/redux/index.php?XDEBUG_SESSION_START=ECLIPSE_DBGP&KEY=124466969367132, I get a 404 error. Eclipse lanches Firefox with the second URL, the wrong URL, then I have to change it. I'm using enable_query_strings...
I'm using tsWebEditor with xDebug and one of two errors pops up every minute or two even when I am not debugging and even when there are no files open for editing.
Exception from Debugger:
Connection reset by peer
Exception from Debugger:
xdebug did not return a valid length([|])
The "[|]" character is an unidentifiable character that...
Hello
I am using a PHP shopping cart which requires me to use Zend Optimizer.
I am using Netbeans as the IDE, and it requires Xdebug, but that's incompatible with Zend.
These are the lines in my php.ini
zend_extension_ts =
"D:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dll"
zend_extension_manager.optimizer_ts =
"D:\xampp\php\z...
I'm using Aptana Studio 1.2.7 with XDebug 2.0.4 and my website is based on the zend framework. When reaching a breakpoint in my code, aptana studio opens the wrong file when there is more than one file with the same name (e.g. ..\library\Project\Db\Table\Abstract.php (breakpoint set) and \library\Zend\View\Helper\Placeholfer\Container\Ab...
My question is based on this article.
How can you make the profiling data about a PHP code by Xdubug2 and then put it to an app like KCacheGrind?
I have used successfully Xdebug in my Ubuntu, since it highlights my error messages in the browser. However, I have not find any terminal tool like xdebug.
I would like to have a visual view...
Hi there
I am writing a web app which will allow the user to specify a URL for a SoapClient. I wanted to validate that php can connect to the client when the user submits a form. I thouhgt I could do this via try catch or set_error_handler (or some combination of the two). However it looks like this is not possible for fatal errors. Is ...
Hey, I'm trying to find a gui to parse xdebug trace files. Although you can make them human readable, the sheer number of lines makes it unusable.
I'm looking for something like kcachegrind but for a trace file. My main goal behind all this is to find what the memory hogs are.
Thanks!
...
Xdebug displays "var_dump" in its own way with more useful information, but in Firebug is unreadable.
I was wondering if there was a way to display the var_dump in Firebug to make it readable without disabling xdebug and also keeping the display of the var_dump made by xdebug in PHP.
Examples of var_dump displayed in Firebug:
$test = ...
Hi all,
I want the xdebug.profile_output_name ini setting to accept the %H and/or %R specifiers on my Windows XP box. It seems xdebug doesn't do anything with them. Is this known behaviour for xdebug on Windows machines?
Apache: 2.2.9
PHP: 5.2.10
xdebug: php_xdebug-2.0.5-5.2.dll
Cheers
...
Greetings!
I've been trying to install xdebug on xampp (running on xubuntu) to use with NetBeans 6.7, but after several attemps I'm really stuck.
When I try to verify installation with this script:
<?php
$address = '127.0.0.1';
$port = 9000;
$sock = socket_create(AF_INET, SOCK_STREAM, 0);
socket_bind($sock, $address, $port) or die('...
Greetings!
When trying to compile xdebug, is there a way to pass it a 32-bit option?
What I have right now is this:
./configure --with-php-config=/opt/lampp/bin/php-config
... or is there a better way to obtain a 32-bit bin of xdebug?
Thaks
...
I'm using Netbeans 6.7 and XDebug to debug a PHP site on my machine, launching the request from within Netbeans (Project->Debug). This works fine, and is very useful.
My question is: Is it possible to attach the debugger to any request that comes in, rather just those I launch from within Netbeans?
ie, instead of clicking "Debug", pu...
Has anyone gotten watchpoints to work when debugging PHP with xDebug and Eclipse? The way I understand it, I'm supposed to be able to select a watched variable in the expressions view or select a variable in the Variables view during debugging, and then select Run->Toggle Watchpoint. But Toggle Watchpoint is constantly greyed out. All my...
I'm sorry if the title is confusing but I couldn't think of anything similar to call it. What I'm looking for is if there is any sort of tool (or eclipse plugin, etc) that will log all the translated lines from a program. For example:
int b = 20;
for (int x = 0; x < z; x++)
b = b + 5;
Would get translated into
b = 20
for (int x = 0;...