martomo / SublimeTextXdebug

Xdebug debugger client for Sublime Text
MIT License
564 stars 89 forks source link

Enter in all classes and functions #87

Open Rad1calDreamer opened 10 years ago

Rad1calDreamer commented 10 years ago

Hi, I set breakpoints but plugin stops on every classes and functions. in all files in my project. i have errors in setting or i do something wrong? thx

martomo commented 10 years ago

Perhaps your code is causing warning exceptions to be thrown. You can disable this by setting break_on_exception: false in your .sublime-settings/.sublime-project.

Rad1calDreamer commented 10 years ago
{
    "folders": [{
        "follow_symlinks": true,
        "path": "D:\\Openserver\\OpenServer\\domains\\ahax"
    }],
    "settings": {
        "xdebug": {
            "url": "http://ahax/",
             "break_on_exception":false
        }
    }
}

i correctly understood you? now it ignore breakpoints

martomo commented 10 years ago

That's correct, now Xdebug does not stop code execution on any exceptions.

For more details what are the possible exceptions, see default *.sublime-settings

Rad1calDreamer commented 10 years ago

of course I looked default settings, and write

{
    "folders": [{
        "follow_symlinks": true,
        "path": "D:\\Openserver\\OpenServer\\domains\\ahax"
    }],
    "settings": {
        "xdebug": {
            "url": "http://ahax/",
             "break_on_exception":["Xdebug"]
        }
    }
}

and i think this help me stop on my breakpoint, but not.

martomo commented 10 years ago
Rad1calDreamer commented 10 years ago

win7 x64 and ST3 Package Control local, through browser 2.2.3

{
    "folders": [{
        "follow_symlinks": true,
        "path": "D:\\Openserver\\OpenServer\\domains\\ahax"
    }],
    "settings": {
        "xdebug": {
            "url": "http://ahax/",
             "break_on_exception":["Xdebug"]
        }
    }
}

xdebug

[Xdebug]
zend_extension="%sprogdir%/modules/php/%phpdriver%/ext/php_xdebug.dll"
xdebug.auto_trace = 0
;xdebug.collect_includes = 1
;xdebug.collect_params = 0
;xdebug.collect_return = 0
;xdebug.collect_vars = 0
xdebug.default_enable = 1
;xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
;xdebug.dump.SERVER = REMOTE_ADDR,REQUEST_METHOD
;xdebug.dump.COOKIE = ""
;xdebug.dump.FILES = ""
;xdebug.dump.GET = ""
;xdebug.dump.POST = ""
;xdebug.dump.REQUEST = ""
;xdebug.dump.SERVER = ""
;xdebug.dump.SESSION = ""
;xdebug.dump_globals = 1
;xdebug.dump_once = 1
;xdebug.dump_undefined = 0
;xdebug.extended_info = 1
;xdebug.file_link_format = ""
;xdebug.idekey = ""
;xdebug.manual_url = "http://www.php.net"
xdebug.max_nesting_level = 250
;xdebug.overload_var_dump = 1
;xdebug.profiler_append = 0
xdebug.profiler_enable = 0
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir="%sprogdir%/userdata/temp/xdebug/"
xdebug.profiler_output_name = "cachegrind.out.%H%R"
;xdebug.remote_autostart = 0
xdebug.remote_enable = 1
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "localhost"
;xdebug.remote_log = "none"
;xdebug.remote_mode = "req"
xdebug.remote_port = 9500
;xdebug.show_exception_trace = 0
;xdebug.show_local_vars = 0
;xdebug.show_mem_delta = 0
;xdebug.trace_format = 0
;xdebug.trace_options = 0
xdebug.trace_output_dir = "%sprogdir%/userdata/temp/xdebug/"
;xdebug.trace_output_name = "trace.%H%R"
;xdebug.var_display_max_children = 128
;xdebug.var_display_max_data = 512
;xdebug.var_display_max_depth = 3