Visualizzazione dei risultati da 1 a 9 su 9
  1. #1

    Xdebug-debugger per tutti!! OSS

    Vorrei proporrere un nuovo debugger (implementato in diversi editori di codice - php editor) che si chiama Xdebug, di Derick Rethans, un sviluppatore olandese molto bravo.
    Xdebug ´e scaricabile dal sito www.xdebug.org

    http://www.xdebug.org/
    e il sito di Derick
    http://www.derickrethans.nl/

    saluti

  2. #2
    Ma a cosa serve precisamente? Mi dice dove sono gli errori? Per questo non basta php o mysql?
    eCommerceRS.NET - Commerciante, vendi on-line!
    Il mio nick è mircov e non mirco!!!

  3. #3
    Un debugger fornisce informazioni di debugging, Xdebug, permette di ridurre drasticamente il numero di errori in fase di sviluppo/ di codice.
    inoltre fornisce le seguenti informazioni:
    straccia di stack e di funzione all'interno del messaggio di warning con visualizzazione parametrica completa delle funzioni definite dall'utente
    stato di allocazione della memoria

    In piú Xdebug contiene:
    informazioni di profiling degli scripts di php
    analisi in tempo reale dell´ esecuzione degli script

    spero d´ avere aiutato!

  4. #4
    io l'ho scaricato ma mi appare una finestra dos che dice collegamento in corso a qualcosa ma che non va avanti. Ho win xp: è compatibile?
    eCommerceRS.NET - Commerciante, vendi on-line!
    Il mio nick è mircov e non mirco!!!

  5. #5
    Trovi anche unsa versione win XP, ma non so se lo dovresti guardare. sulla page. Sono diversi editori di codice che l hanno implementato.
    Noi l abbiamo implementato nella nostra IDE (editore di codice).
    Seno Derick da anche un istruzione come implementare,
    qui un post

    XDEBUG EXTENSION FOR PHP | INSTALLATION

    PRECOMPILED MODULES

    There are a few precompiled modules for Windows, they are all for the non-debug version of PHP. See the links on the right side.

    Installing the precompiled modules is easy. Just place them in a directory, and add the following line to php.ini: (don't forget to change the path and filename to the correct one)

    zend_extension_ts="c:/php/modules/xdebug-4.3-1.3.1.dll"

    PECL INSTALLATION

    As of Xdebug 0.9.0 you can install Xdebug through PEAR/PECL. This only works with the latest CVS version of PHP (with PEAR version 0.9.1-dev or higher installed) and some UNIX.

    Installing with PEAR/PECL is as easy as:

    # pear install xdebug

    but you still need to add the correct line to your php.ini: (don't forget to change the path and filename to the correct one)

    zend_extension="/usr/local/php/modules/xdebug.so"

    INSTALLATION FROM SOURCE

    You can download the source of the latest stable release here. Alternatively you can obtain Xdebug from CVS:

    cvs -d server:srmread@cvs.xdebug.org:/repository login
    CVS password: srmread
    cvs -d server:srmread@cvs.xdebug.org:/repository co xdebug

    This will checkout the latest development version which is currently 2.0dev. In case you want to retrieve the latest stable version from CVS, use the following checkout line:

    cvs -d server:srmread@cvs.xdebug.org:/repository co -r xdebug_1_3 xdebug

    COMPILING

    You compile Xdebug separately from the rest of PHP. Note, however, that you need access to the scripts "phpize" and "php-config". If your system does not have "phpize" and "php-config", you will need to compile and install PHP from a source tarball first, as these script are by-products of the PHP compilation and installation processes. It is important that the source version matches the installed version as there are slight, but important, differences between PHP versions. For a detailed installation on Mac OSX see Jason Perkins' installation instructions. Once you have access to "phpize" and "php-config", do the following:

    1. Unpack the tarball: tar -xzf xdebug-1.x.x.tgz. Note that you do not need to unpack the tarball inside the PHP source code tree. Xdebug is compiled separately, all by itself, as stated above.
    2. cd xdebug-1.x.x
    3. Run phpize: phpize (or /path/to/phpize if phpize is not in your path). See in the table below which version numbers it should show for different PHP versions.
    4. ./configure --enable-xdebug (or: ./configure --enable-xdebug --with-php-config=/path/to/php-config if php-config is not in your path).

    If this fails with something like:

    ../configure: line 1960: syntax error near unexpected token
    `PHP_NEW_EXTENSION(xdebug,'
    ../configure: line 1960: ` PHP_NEW_EXTENSION(xdebug, xdebug.c
    xdebug_code_coverage.c xdebug_com.c xdebug_handler_gdb.c
    xdebug_handler_php3.c xdebug_handlers.c xdebug_llist.c xdebug_hash.c
    xdebug_profiler.c xdebug_superglobals.c xdebug_var.c usefulstuff.c,
    $ext_shared)'

    then it means that you do not meet the PHP 4.3.x version requirement for Xdebug.

    Another problem that might occur is:

    configure: line 1145: PHP_INIT_BUILD_SYSTEM: command not found
    configure: line 1151: syntax error near unexpected token `config.nice'
    configure: line 1151: `PHP_CONFIG_NICE(config.nice)'

    You will need to upgrade your autotools (autoconf, automake and libtool) or install the known working versions: autoconf-2.13, automake-1.5 and libtool-1.4.3.
    5. make
    6. cp modules/xdebug.so /to/wherever/you/want/it
    7. add the following line to php.ini: zend_extension="/wherever/you/put/it/xdebug.so" (for non-threaded use of PHP, for example the CLI, CGI or Apache 1.3 module) or: zend_extension_ts="/wherever/you/put/it/xdebug.so" (for threaded usage of PHP, for example the Apache 2 work MPM or the the ISAPI module)
    8. Restart your webserver.
    9. Write a PHP page that calls "phpinfo()" Load it in a browser and look for the info on the Xdebug module. If you see it next to the Zend logo, you have been successful!

    COMPATIBILITY

    Xdebug does not work together with the Zend Optimizer or any other Zend extension (DBG, APC, APD etc). This is due to compatibility problems with those modules. We will be working on figuring out what the problems are, and of course try to fix those.
    PHPIZE OUTPUT TABLE

    PHP Version: PHP Api Version: Zend Module Api No: Zend Extension Api No: Recommended version:
    4.2.3 20010901 20020429 20020429 1.0.0rc1
    4.3.0pre2 20020307 20020429 20021010 1.1.0pre2
    4.3.0rc1 20020918 20020429 20021010 1.1.0
    4.3.0 20020918 20020429 20021010 1.2.0
    4.3.1-4.3.5 20020918 20020429 20021010 1.3.1
    4.3.7-4.3.8 20020918 20020429 20021010 1.3.2 / 2.0.0-cvs
    5.0.0rc3 20031224 20040412 220040412 1.3.2 / 2.0.0-cvs

    DEBUGCLIENT INSTALLATION

    Unpack the Xdebug source tarball and issue the following commands:

    $ cd debugclient
    $ ./configure --with-libedit
    $ make
    # make install

    This will install the debugclient binary in /usr/local/bin unless you don't have libedit installed on your system. You can either install it, or leave out the "--with-libedit" option to configure. Debian 'unstable' users can install the library with apt-get install libedit-dev libedit2.

  6. #6
    La ragione dei Editori sono anche di facilitare l´ uso di PHP o altri linguaggi.
    Prova qualche editore, per crederci.

    ci sono diversi free e commerciali, fai un test.

  7. #7
    Ma non sei italiano?
    eCommerceRS.NET - Commerciante, vendi on-line!
    Il mio nick è mircov e non mirco!!!

  8. #8
    si, percuell oscrivo in italiano e come ho detto ´e un post (past and copy) della pagina di derick, dove descrive come implementare sto debugger.

  9. #9
    OK.
    eCommerceRS.NET - Commerciante, vendi on-line!
    Il mio nick è mircov e non mirco!!!

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.