Installation dbg debugger to debug your PHP program (windows) (original)

  Installation dbg debugger to debug your PHP program (windows) (original) 

  / * 
  Please retain the job is reposted topics: Installation dbg debugger to debug your PHP procedures Author: z33 
  From: http://www.itroot.org 
  * / 

  This handbook is to continue on a <structures Windows PHP Based on the Eclipse development environment>, to be installed before the eclipse, the eclipse is IBM's development of the great development platform, version 3.0 is a. 
  The article addresses: 
  Http://www.pig8.com/bbs/index.php?showtopic=193 

  Php_dbg.dll download, download the following address: 
  Http://dd.cron.ru/dbg/download.php?h=211.23-win32 

  Decompress, and then you have to find and install the same version of PHP php_dbg.dll-xxx, 
  Php_dbg.dll then changed the name to copy php_dbg.dll to your PHP installation directory of extensions directory. 

  There php.ini find the following, in accordance with the following changes to the settings: 
  ; This is to see output while debugging 
  On implicit_flush = 

  ; Check here, set up their own php installation directory under the directory path extensions 
  Extension_dir = "c: \ php \ extensions \ 

  ; To add the configuration of php_dbg.dll 
  Php_dbg.dll extension = 

  ; Configuration items to add DEBUG 
  [Debugger] 
  Debugger.enabled = true 
  Debugger.profiler_enabled = true 
  Debugger.JIT_host = clienthost 
  Debugger.JIT_port = 7869 

  Restart Apache. 

  Now we can open the eclipse debugging a PHP script, first elected in the menu bar "RUN" under the "Add / Remove Breakpoint" settings on the breakpoints. 

  Point <Figure 1> debug in the small right arrow button election Debug as -> PHP Application, 
  There will be a prompt asking if you enter Debug debugging view, select "yes", Debug view. 

User posted image
  <Figure 1> 

  After coming at a glance, can single-step debugging, and the right of all variables surveillance, Shuangba.    If <Figure 2> 

User posted image
  <Figure 2> 

Bookmark it: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Google
  • DotNetKicks
  • DZone
  • Furl
  • Netvouz

Releated Articles

  • Popuklar Articles

0 Comments to “Installation dbg debugger to debug your PHP program (windows) (original)”

No Comments. Send your comment.

Leave a Reply

You must be logged in to post a comment.