Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; WP_Widget_Factory has a deprecated constructor in /home/araki/blog.ceed.jp/wp-includes/widgets.php on line 405

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_Generic has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-generic.php on line 10

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdSense has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adsense.php on line 26

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdSense_Classic has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adsense-classic.php on line 19

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdSense_Ad has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adsense-ad.php on line 19

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdSense_Link has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adsense-link.php on line 19

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdSense_Referral has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adsense-referral.php on line 19

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdBrite has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adbrite.php on line 20

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdGridWork has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adgridwork.php on line 20

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_Adpinion has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adpinion.php on line 21

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_AdRoll has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-adroll.php on line 21

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_CJ has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-cj.php on line 20

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_Code has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-code.php on line 19

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_CrispAds has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-crispads.php on line 20

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_ShoppingAds has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-shoppingads.php on line 20

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_YPN has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-ypn.php on line 20

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Ad_WidgetBucks has a deprecated constructor in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/class-widgetbucks.php on line 20

Notice: Undefined index: adsensem-show-ad in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 280

Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /home/araki/blog.ceed.jp/wp-includes/functions.php on line 3361

Deprecated: Non-static method adsensem::init() should not be called statically in /home/araki/blog.ceed.jp/wp-includes/plugin.php on line 470

Deprecated: Non-static method adsensem::setup_is_valid() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 110

Deprecated: Function create_function() is deprecated in /home/araki/blog.ceed.jp/wp-includes/pomo/translations.php on line 171

Deprecated: Non-static method adsensem::init_widgets() should not be called statically in /home/araki/blog.ceed.jp/wp-includes/plugin.php on line 470

Deprecated: Non-static method adsensem::register_widget() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 145

Notice: Undefined variable: args in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 145

Notice: Undefined variable: _adsensem in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 162

Deprecated: Non-static method adsensem::register_widget() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: args in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: _adsensem in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 162

Deprecated: Non-static method adsensem::register_widget() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: args in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: _adsensem in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 162

Deprecated: Non-static method adsensem::register_widget() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: args in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: _adsensem in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 162

Deprecated: Non-static method adsensem::register_widget() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: args in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: _adsensem in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 162

Deprecated: Non-static method adsensem::register_widget() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: args in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 151

Notice: Undefined variable: _adsensem in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 162
PDT2.0+XDebugでリモートデバッグ(その1) | CEED
Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

PDT2.0+XDebugでリモートデバッグ(その1)


Deprecated: Non-static method adsensem::filter_ads() should not be called statically in /home/araki/blog.ceed.jp/wp-includes/plugin.php on line 192

Deprecated: Non-static method adsensem::filter_ad_callback() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 198

Deprecated: Non-static method adsensem::filter_ad_callback() should not be called statically in /home/araki/blog.ceed.jp/wp-content/plugins/adsense-manager/adsense-manager.php on line 201

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Notice: Array to string conversion in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 701

Notice: Array to string conversion in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 701

Notice: Array to string conversion in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 701

Notice: Array to string conversion in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 701

PDT2.0+Xdebugでデバッグ環境を構築してみようと思います。
思い立ったきっかけは、普段使っているCakePHPでのデバッグに役立てたいためです。
今回は

  • Windows-7 64bit
  • Eclipse3.4
  • PDT2.0
  • Apache2.0.63
  • PHP5.2.9-2

という環境がすでに整っているところから始めます。

まずは、Xdebugのダウンロードページからバージョンにあったものをダウンロードします。
最適なバージョンがわからない場合、実行環境のサーバー上でphpinfo();を実行し、そのHTMLソースをインストラクションのページのテキストボックス貼り付けて、Analyse my phpinfo() output をクリックすると、最適なバイナリバージョンが提示されます。
なお、今回OSはWindows7の64bitですが、PHP自体は32bit用(5.2.9までは64bit版はない?)がインストールされているので、ここでも32bit用のバイナリを選択しました。
※今回、上記のインストラクションのページでXdebug 2.1.0rc1 が提示されたのですが、これをインストールしてみると変数が表示されないという問題があり、最終的に2.0.4を使うことになりました。こちら詳細が記載されているようです。(PDT2.0のバグのようです)

つづいて、php.iniの設定
以下をphp.iniに追記ましす。

[xdebug]
zend_extension_ts="C:\PHP\ext\php_xdebug-2.0.3-5.2.5.dll"
xdebug.remote_enable=1
xdebug.remote_handler="dbgp"
xdebug.remote_mode=req
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_log="C:\Program Files (x86)\Apache Group\Apache2\logs\xdebug.log"
xdebug.manual_url = "http://jp2.php.net"
;xdebug.collect_params = On
;xdebug.dump.GET = *
;xdebug.dump.POST = *

これでデバッグの準備ができました。
Eclipseの設定・実行手順いついては次回に書きたいと思います。

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524

Deprecated: Non-static method adsensem::footer() should not be called statically in /home/araki/blog.ceed.jp/wp-includes/plugin.php on line 470
getting health insurance in new york buy clomid online UK major health insurance companies buy levitra uk online what are wells fargo hours buy finasteride affordable health insurance for children accutane no prescription medical center of trinity viagra online uten resept midwestern university wellness center dapoxetine top individual health insurance companies viagra ireland

Warning: Use of undefined constant user_level - assumed 'user_level' (this will throw an Error in a future version of PHP) in /home/araki/blog.ceed.jp/wp-content/plugins/ultimate_ga_1.6.0/ultimate_ga_1.6.0.php on line 524