Xdebug Notepad++ DBPG Plugin local and global context not showing

萝らか妹 提交于 2020-01-07 07:09:40

问题


I am using Xdebug with the DBGP Notepad++ plugin

I can add breakpoints fine, the watchlist will show arrays and sometimes objects and hovering over variables shows their values. However the local and global variables tabs don't show anything and whenever I hover over an object or it's method or refresh local context the plugin disconnects with an 'Undefined error' popup. No error seems to be printed in the xdebug log.

I am using Notepad++ 6.4.3, Xdebug 2.2.0, Php 5.4.4, Xampp on Windows with the Symfony2 framework.

My Xdebug settings are.

xdebug.auto_trace = 1
xdebug.collect_includes = 1
xdebug.collect_params = 1
xdebug.collect_return = 1
xdebug.default_enable = "On"
xdebug.extended_info = 1
xdebug.idekey = "xdebug"
xdebug.max_nesting_level = 100
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_port = 9000
xdebug.show_local_vars = 9
xdebug.var_display_max_children = 128

Thanks.


回答1:


I contacted the creator of the plugin and he says the plugin is broken because it hasn't been updated to work with newer versions of notepad++/xdebug and he hasn't got time to update it. You can see the discussion here



来源:https://stackoverflow.com/questions/18172253/xdebug-notepad-dbpg-plugin-local-and-global-context-not-showing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!