Hi, when i debug, the context show nothing. This is my console:
startup, version: 2221 linux x64 channel: stable
executable: /opt/sublime_text_2/sublime_text
working dir: /home/quangminh
packages path: /home/quangminh/.config/sublime-text-2/Packages
settings path: /home/quangminh/.config/sublime-text-2/Settings
PackageSetup not required
Py_GetProgramName(): sublime_text
Py_GetExecPrefix(): .
Py_GetProgramFullPath():
Py_GetPath(): ./lib/python26.zip:./lib/python2.6/:./lib/python2.6/plat-linux2:./lib/python2.6/lib-tk:./lib/python2.6/lib-old:./lib/python2.6/lib-dynload
Py_GetPythonHome(): .
catalogue loaded
found 5 files for base name Default.sublime-keymap
found 1 files for base name Default.sublime-mousemap
found 3 files for base name Main.sublime-menu
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/CSS/css_completions.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/comment.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/copy_path.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/delete_word.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/detect_indentation.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/duplicate_line.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/echo.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/exec.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/fold.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/font.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/goto_line.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/indentation.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/kill_ring.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/mark.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/new_templates.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/open_file_settings.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/open_in_browser.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/paragraph.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/save_on_focus_lost.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/scroll.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/set_unsaved_view_name.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/side_bar.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/sort.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/swap_line.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/switch_file.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/transform.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/transpose.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Default/trim_trailing_white_space.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Diff/diff.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/HTML/encode_html_entities.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/HTML/html_completions.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Package Control/Package Control.py
Reloading plugin /home/quangminh/.config/sublime-text-2/Packages/Xdebug Client/main.py
./xdebug/elementtree/SimpleXMLTreeBuilder.py:60: DeprecationWarning: The xmllib module is obsolete. Use xml.sax instead.
import xmllib, string
plugin init time: 0.121294
loading bindings
loading pointer bindings
found 1 files for base name Default.sublime-theme
theme loaded
app ready
pre session restore time: 0.219247
using gamma: 1 (err: 0)
startup cache, total files: 100 cache hits: 100
startup time: 0.386766 (package setup was not run)
loaded 926 snippets
Package Control: Skipping automatic upgrade, last run at 2014-05-23 08:59:36, next run at 2014-05-23 09:59:36 or after
Exception in thread Thread-6:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File "./xdebug/session.py", line 148, in run
File "./xdebug/session.py", line 242, in execute
File "./xdebug/session.py", line 274, in get_context_values
File "./xdebug/protocol.py", line 188, in read
File ".\xml\etree\ElementTree.py", line 963, in XML
File "./xdebug/elementtree/SimpleXMLTreeBuilder.py", line 84, in feed
File ".\xmllib.py", line 172, in feed
File ".\xmllib.py", line 281, in goahead
File ".\xmllib.py", line 610, in parse_starttag
File ".\xmllib.py", line 586, in parse_attributes
TypeError: character mapping must return integer, None or unicode
Exception in thread Thread-11:
Traceback (most recent call last):
File ".\threading.py", line 532, in __bootstrap_inner
File "./xdebug/session.py", line 148, in run
File "./xdebug/session.py", line 242, in execute
File "./xdebug/session.py", line 274, in get_context_values
File "./xdebug/protocol.py", line 188, in read
File ".\xml\etree\ElementTree.py", line 963, in XML
File "./xdebug/elementtree/SimpleXMLTreeBuilder.py", line 84, in feed
File ".\xmllib.py", line 172, in feed
File ".\xmllib.py", line 281, in goahead
File ".\xmllib.py", line 610, in parse_starttag
File ".\xmllib.py", line 586, in parse_attributes
TypeError: character mapping must return integer, None or unicode
And this my system info:
Xubuntu 14.10
Sublime text 2
Testing on localhost using The easiest xdebug 2.0 on firefox
phpinfo()
PHP Version => 5.5.9-1ubuntu4
System => Linux MINH-ASUS-K43E 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64
Build Date => Apr 9 2014 17:10:23
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path => /etc/php5/cli
Loaded Configuration File => /etc/php5/cli/php.ini
Scan this dir for additional .ini files => /etc/php5/cli/conf.d
Additional .ini files parsed => /etc/php5/cli/conf.d/05-opcache.ini,
/etc/php5/cli/conf.d/10-pdo.ini,
/etc/php5/cli/conf.d/20-gd.ini,
/etc/php5/cli/conf.d/20-json.ini,
/etc/php5/cli/conf.d/20-mcrypt.ini,
/etc/php5/cli/conf.d/20-mysql.ini,
/etc/php5/cli/conf.d/20-mysqli.ini,
/etc/php5/cli/conf.d/20-pdo_mysql.ini,
/etc/php5/cli/conf.d/20-readline.ini,
/etc/php5/cli/conf.d/20-xdebug.ini
PHP API => 20121113
PHP Extension => 20121212
Zend Extension => 220121212
Zend Extension Build => API220121212,NTS
PHP Extension Build => API20121212,NTS
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
IPv6 Support => enabled
DTrace Support => enabled
Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls
Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies
with Xdebug v2.2.3, Copyright (c) 2002-2013, by Derick Rethans
_______________________________________________________________________
xdebug
xdebug support => enabled
Version => 2.2.3
IDE Key => quangminh
Supported protocols => Revision
DBGp - Common DeBuGger Protocol => $Revision: 1.145 $
Directive => Local Value => Master Value
xdebug.auto_trace => Off => Off
xdebug.cli_color => 0 => 0
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.coverage_enable => On => On
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.max_nesting_level => 200 => 200
xdebug.overload_var_dump => On => On
xdebug.profiler_aggregate => Off => Off
xdebug.profiler_append => Off => Off
xdebug.profiler_enable => On => On
xdebug.profiler_enable_trigger => On => On
xdebug.profiler_output_dir => /tmp => /tmp
xdebug.profiler_output_name => cachegrind.out.%p => cachegrind.out.%p
xdebug.remote_autostart => Off => Off
xdebug.remote_connect_back => On => On
xdebug.remote_cookie_expire_time => 3600 => 3600
xdebug.remote_enable => On => On
xdebug.remote_handler => dbgp => dbgp
xdebug.remote_host => localhost => localhost
xdebug.remote_log => /tmp/xdebug.log => /tmp/xdebug.log
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_enable_trigger => Off => Off
xdebug.trace_format => 0 => 0
xdebug.trace_options => 0 => 0
xdebug.trace_output_dir => /tmp => /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
Hi, when i debug, the context show nothing. This is my console:
And this my system info:
And my configuration:
xdebug.ini
xdebug.log
php info
Please help me, thanks