SublimeTextXdebug icon indicating copy to clipboard operation
SublimeTextXdebug copied to clipboard

Enter in all classes and functions

Open Rad1calDreamer opened this issue 11 years ago • 6 comments

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

Rad1calDreamer avatar Jun 19 '14 07:06 Rad1calDreamer

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.

martomo avatar Jun 19 '14 07:06 martomo

{
    "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

Rad1calDreamer avatar Jun 19 '14 08:06 Rad1calDreamer

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

martomo avatar Jun 19 '14 08:06 martomo

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.

Rad1calDreamer avatar Jun 19 '14 08:06 Rad1calDreamer

  • What operation system(s) and version of Sublime Text are you using?
  • How did you install SublimeTextXdebug, Package Control, git clone or download?
  • Are you trying to debug the script remotely or locally, through browser or command line?
  • Which version of Xdebug extension do you have?
  • Can you post your project/settings file and Xdebug configuration from the *.ini located on your server.
  • Does the console window (Ctrl+`) show any more information regarding the error?

martomo avatar Jun 20 '14 06:06 martomo

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

Rad1calDreamer avatar Jun 20 '14 06:06 Rad1calDreamer