[xdebug-general] AW: Re: XAMPP 1.7.3, Eclipse PDT & XDebug - Debugging a PHP web page in Eclipse never stops at breakpoints

From: Michael Auss <michael.auss[@]johanniter.at>
Date: Thu, 19 Aug 2010 09:59:02 +0200

Thanks for the fast response!

I've created a xdebug-log, here are my breakpoint entries:

<- breakpoint_set -i 21 -t line -f file:///http://localhost/kursanmeldung/index.php -n 18
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="21" id="41480003"></response>

<- breakpoint_set -i 22 -t line -f file:///http://localhost/kursanmeldung/index.php -n 15
-> <response xmlns="urn:debugger_protocol_v1" xmlns:xdebug="http://xdebug.org/dbgp/xdebug" command="breakpoint_set" transaction_id="22" id="41480004"></response>

My path mappings were the problem:

Path on server: http://localhost/kursanmeldung/index.php
Path in workspace /kursanmeldung

When I deleted these settings it worked fine for me.

Thanks for your assistance!

Best regards from Vienna,
Michael Auss

-----Ursprüngliche Nachricht-----
Von: xdebug-general-bounce[@]lists.xdebug.org [mailto:xdebug-general-bounce[@]lists.xdebug.org] Im Auftrag von Dave Kelsey
Gesendet: Mittwoch, 18. August 2010 17:04
An: xdebug-general[@]lists.xdebug.org
Betreff: [xdebug-general] Re: XAMPP 1.7.3, Eclipse PDT & XDebug - Debugging a PHP web page in Eclipse never stops at breakpoints

Look at the PDT documentation section http://www.eclipse.org/pdt/docs.php
for the Xdebug 2.0 guide.

If that doesn't help, generate an xdebug log and look at where xdebug is
being told to set the breakpoints, maybe your path mappings are wrong.

Other than that, I suggest looking at the pdt forum hosted by eclipse for
entries where people have had the same problem. (details at
http://www.eclipse.org/pdt)

Dave Kelsey

xdebug-general-bounce[@]lists.xdebug.org wrote on 18/08/2010 14:41:50:

> [image removed]
>
> [xdebug-general] XAMPP 1.7.3, Eclipse PDT & XDebug - Debugging a PHP
> web page in Eclipse never stops at breakpoints
>
> Michael Auss
>
> to:
>
> xdebug-general
>
> 18/08/2010 15:42
>
> Sent by:
>
> xdebug-general-bounce[@]lists.xdebug.org
>
> Dear folks,
> My development web server is currently a XAMPP 1.7.3 on my localhost(Win
XP).
>
> I just set up my Eclipse 3.6 PDT with XDebug. It works fine, if I
> debug a file as a "PHP script",
> but when it comes to debugging it as a "PHP web page", XDebug
> ignores the breakpoints completely.
>
> Only a manually inserted xdebug_break() inside the code stops the
> debugger. This isn't very useful, if you want to use conditions with
> Eclipse's breakpoints.
>
> Here my config:
>
> php.ini:
> zend_extension = "C:\xampp\php\ext\php_xdebug.dll"
> xdebug.remote_autostart=1
> xdebug.remote_enable=1
> xdebug.remote_handler=dbgp
> xdebug.remote_mode=req
> xdebug.remote_host=localhost
> xdebug.remote_port=9000
> xdebug.remote_idekey="ECLIPSE_DBGP"
>
> phpinfo()
> Zend Engine v2.3.0, Copyright (c)
> 1998-2009 Zend Technologies
> with Xdebug v2.0.6-dev, Copyright (c) 2002-2009, by Derick Rethans
> ...
> xdebug xdebug support enabled Version
> 2.0.6-dev
>
> Supported protocols Revision DBGp -
> Common DeBuGger Protocol $Revision:
> 1.125.2.7 $ GDB - GNU Debugger protocol $Revision: 1.87.2.1 $ PHP3 -
> PHP 3 Debugger protocol $Revision:
> 1.22 $
>
> Directive Local Value Master Value
> xdebug.auto_trace Off Off
> xdebug.collect_includes On On
> xdebug.collect_params 0 0
> xdebug.collect_return Off Off
> xdebug.collect_vars Off Off
> xdebug.default_enable On On
> xdebug.dump.COOKIE no value no value
> xdebug.dump.ENV no value no value
> xdebug.dump.FILES no value no value
> xdebug.dump.GET no value no value
> xdebug.dump.POST no value no value
> xdebug.dump.REQUEST no value no value
> xdebug.dump.SERVER no value no value
> xdebug.dump.SESSION no value no value
> xdebug.dump_globals On On
> xdebug.dump_once On On
> xdebug.dump_undefined Off Off
> xdebug.extended_info On On
> xdebug.idekey no value no value
> xdebug.max_nesting_level 100 100
> xdebug.profiler_aggregate Off Off
> xdebug.profiler_append Off Off
> xdebug.profiler_enable Off Off
> xdebug.profiler_enable_trigger Off Off
> xdebug.profiler_output_dir C:\xampp\tmp C:\xampp\tmp
> xdebug.profiler_output_name xdebug_profile.%p xdebug_profile.%p
> xdebug.remote_autostart On On
> xdebug.remote_enable On On
> xdebug.remote_handler dbgp dbgp
> xdebug.remote_host localhost localhost
> xdebug.remote_log no value no value
> xdebug.remote_mode req req
> xdebug.remote_port 9000 9000
> xdebug.show_exception_trace Off Off
> xdebug.show_local_vars Off Off
> xdebug.show_mem_delta Off Off
> xdebug.trace_format 0 0
> xdebug.trace_options 0 0
> xdebug.trace_output_dir C:\xampp\tmp C:\xampp\tmp
> xdebug.trace_output_name trace.%c trace.%c
> xdebug.var_display_max_children 128 128
> xdebug.var_display_max_data 512 512
> xdebug.var_display_max_depth 3 3
> Does anyone know what I'm doing wrong?
>
> Thanks in advance!
>
>
>
****************************************************************************************
> Johanniter-Unfall-Hilfe in Österreich
> Bereich Wien
>
> Michael Auss,
> Mitarbeiter IT
>
> 1180 Wien, Herbeckstraße 39
>
> T: +43 1 47600 - 3936
> M: +43 650 930 11 24
> F: +43 1 470 47 48
> E: michael.auss[@]johanniter.at
> www.johanniter.at
>
> Haftungsausschluss/Disclaimer: www.johanniter.at/disclaimer.pdf
> ZVR: 269856203
>
****************************************************************************************
>
Received on Thu Aug 19 2010 - 08:59:04 BST

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST