Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » PDT 3.0.2 PHP Debug Configuration(URL bloc missing)
PDT 3.0.2 PHP Debug Configuration [message #779788] Mon, 16 January 2012 15:08 Go to next message
balia b. is currently offline balia b.Friend
Messages: 4
Registered: January 2012
Junior Member
I recently upgraded to eclipse 3.0.2
In the previous version of eclipse, there used to be a URL bloc with the option to uncheck the auto-generate feature.
I don't have the URL bloc in version 3.0.2 anymore. This bloc is missing.
The debug configuration stops after selecting the file to debug
How can I adjust the url for debugging when the auto-generated one is wrong?
Is this a bug or has this bloc been moved somewhere else?
Thank you
Re: PDT 3.0.2 PHP Debug Configuration [message #779984 is a reply to message #779788] Tue, 17 January 2012 00:02 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
FYI
How to set the correct URL for eclipse PHP debugging - Stack Overflow
Eclipse PDT 3.0 URL generation in debug missing? - Stack Overflow

--
atlanto
怪しげなeclipse-php-3.0.2 - Dead Zone
Re: PDT 3.0.2 PHP Debug Configuration [message #780455 is a reply to message #779788] Wed, 18 January 2012 03:58 Go to previous messageGo to next message
balia b. is currently offline balia b.Friend
Messages: 4
Registered: January 2012
Junior Member
Thank you Toshihiro!
This solved the URL generation problem.

However, there is a new problem...
The debugger doesn't break at the first line even when this option is checked in the debug configuration.
This happens only for web applications. I tried different pages, and still no break.
Even manually setting up a breakpoint doesn't trigger a break.

For PHP CLI applications, the break at the first line occurs as expected.

Any idea of what is happening here and why the breakpoint is not triggered for web applications?

PS. I use xdebug for debugging and my phpinfo shows that xdebug is installed correctly.
Re: PDT 3.0.2 PHP Debug Configuration [message #780688 is a reply to message #779788] Thu, 19 January 2012 04:20 Go to previous messageGo to next message
balia b. is currently offline balia b.Friend
Messages: 4
Registered: January 2012
Junior Member
BTW, here is my xdebug configuration from phpinfo:
Any help is appreciated...

xdebug
xdebug support enabled
Version 2.1.2

Supported protocols Revision
DBGp - Common DeBuGger Protocol $Revision: 1.145 $

Directive Local Value Master Value
xdebug.auto_trace Off Off
xdebug.collect_assignments 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.file_link_format no value no value
xdebug.idekey no value no value
xdebug.manual_url www dot php dot net
xdebug.max_nesting_level 100 100
xdebug.overload_var_dump On On
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 \ \
xdebug.profiler_output_name cachegrind.out.%p cachegrind.out.%p
xdebug.remote_autostart Off Off
xdebug.remote_connect_back Off Off
xdebug.remote_cookie_expire_time 3600 3600
xdebug.remote_enable Off Off
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.scream Off Off
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 \ \
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
Re: PDT 3.0.2 PHP Debug Configuration [message #780738 is a reply to message #780688] Thu, 19 January 2012 09:15 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
>xdebug.remote_enable Off Off
. . .
Re: PDT 3.0.2 PHP Debug Configuration [message #780863 is a reply to message #779788] Thu, 19 January 2012 17:45 Go to previous messageGo to next message
balia b. is currently offline balia b.Friend
Messages: 4
Registered: January 2012
Junior Member
Thank you again!
By setting xdebug.remote_enable=On in php.ini, it worked.
Best
Re: PDT 3.0.2 PHP Debug Configuration [message #782101 is a reply to message #779984] Mon, 23 January 2012 06:35 Go to previous messageGo to next message
Simon is currently offline SimonFriend
Messages: 10
Registered: July 2009
Junior Member
On 2012/01/17 02:02 AM, Toshihiro Izumi wrote:
> FYI
> http://stackoverflow.com/questions/8182101/how-to-set-the-correct-url-for-eclipse-php-debugging/8222693#8222693
>
> http://stackoverflow.com/questions/8201321/eclipse-pdt-3-0-url-generation-in-debug-missing
>

Brilliant, thanks, this was driving me crazy.

I wonder if a bug was ever logged for this, maybe I should create one.

Simon
Re: PDT 3.0.2 PHP Debug Configuration [message #782122 is a reply to message #782101] Mon, 23 January 2012 08:06 Go to previous message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 360
Registered: July 2009
Location: Japan
Senior Member
>I wonder if a bug was ever logged for this, maybe I should create one.
AFAIK, it is not being logged.
I'm not sure this zend specific bug should be logged as a bug of pdt though.
(I believe this bug had been introduced for Zend Studio or Zend SDK intentionally. Those who uses pdt without Zend SDK might not have this bug.)
Previous Topic:XDebug - Eclipse doesn't switch back to PHP perspective
Next Topic:Update to the latest PDT
Goto Forum:
  


Current Time: Thu Apr 18 09:10:49 GMT 2024

Powered by FUDForum. Page generated in 0.02335 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top