Skip to content
This repository has been archived by the owner on Nov 15, 2017. It is now read-only.

Xdebug Context and Xdebug Stack Tabs are empty #46

Open
PaddyLock opened this issue Nov 1, 2012 · 7 comments
Open

Xdebug Context and Xdebug Stack Tabs are empty #46

PaddyLock opened this issue Nov 1, 2012 · 7 comments

Comments

@PaddyLock
Copy link

When I start debugging on any php file within my project, the browser launches with the correct url and
?XDEBUG_SESSION_START=sublime.xdebug
But in Sublime Text 2 the tabs that appear for Xdebug Context and Xdebug Stack are empty

I have put some breakpoints in but the code does not stop at them.

At the bottom of sublime I get the following message:

Xdebug: Page finished executing. Reload to continue debugging

What should I reload, the page in the browser? should this include the query string? I tried that but nothing happens.

I am on a mac using mamp with php 5.3.6
I have my sites mapped using vhosts

I have xdebug installed and these are my php.ini settings

[xdebug]
zend_extension="/Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"

xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
;Typical xdebug port
xdebug.remote_port=9000
xdebug.remote_autostart=off
;You might need to increase the limit, this is set to 400 but you can change it.
xdebug.max_nesting_level = 400
xdebug.remote_mode=req
xdebug.default_enable=1
;Helps identify the correct xdebug application
xdebug.idekey=sublime.xdebug

; Trace options
xdebug.trace_format=0
xdebug.trace_output_dir=/tmp
xdebug.trace_options=0
xdebug.trace_output_name=crc32

; Profiling
xdebug.profiler_append=0
xdebug.profiler_enable=0
xdebug.profiler_enable_trigger=0
xdebug.profiler_output_dir=/tmp
xdebug.profiler_output_name=crc32

Please can someone help me identify what I am doing wrong?

Thanks

@torkiljohnsen
Copy link

Got the same issue.

@PaddyLock
Copy link
Author

I still have the same issue too. Also I'm not sure where to look for logs to get any information on errors. Can anyone shed any light on which file you are supposed to start debugging from and whether it mattters? After it loads the site in a browser I get the message to reload the page to debug, does this mean in the browser? with the same url? what is the purpose of reloading the page? it has no effect.

@guillaumeparis2000
Copy link

I have the same issue on Linux Mint Debian Edition. When i start the debugger a new tab is opened in my browser with the good url and the web loading is blocked and the sublime xdebug tabs are empty.

@sir-oliver
Copy link

Same issue here, but when I use MacGDB (https://www.bluestatic.org/software/macgdbp/) everything works fine. Maybe a problem in the Sublime Xdebug Package?

@dlip
Copy link

dlip commented Apr 2, 2013

I have the same issue on ubuntu mint mate edition. Maybe something to do with file path mapping (web server file location vs local)?

@dlip
Copy link

dlip commented Apr 2, 2013

It was file mapping in my case this comment helped

#42 (comment)

@jp61
Copy link

jp61 commented May 15, 2015

probably it helps
check if you have xdebug installed , you can check via browser

if you find text part

with Xdebug v2.3.2, Copyright (c) 2002-2015, by Derick Rethans

then xdebug you have got right installed, then just configure it all

in browser add plugin / extension xdebug helper
in php.ini do not forget to set xdebug.remote_enable=1
in hypertext address add ?XDEBUG_SESSION_START=sublime.xdebug
then
in sublime
add some breakpoint in your code
tools -> xdebug -> stop / start debugging
in browser run your page with additional part ?XDEBUG_SESSION_START=sublime.xdebug
run

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants