Open bbeckford opened 11 years ago
@Angelkuga
Can you please open Sublime, repro the problem, then attach the entire content of the console window (Ctrl-`) to this issue. Let me know the URL and filename that this relates to.
The problem is most likely that it hasn't successfully mapped your local file to your served file. The diagnostics in the console window will tell us.
@danmosemsft sorry to reply u late ,this is the picture i captured have a look
hello Dan Moseley i have replyed u on github . this is the picture i captured u have a look and see what make me can't use web inspector successfully thank u so much
On Wed, Jan 6, 2016 at 1:16 AM, Dan Moseley notifications@github.com wrote:
@Angelkuga https://github.com/Angelkuga
Can you please open Sublime, repro the problem, then attach the entire content of the console window (Ctrl-`) to this issue. Let me know the URL and filename that this relates to.
The problem is most likely that it hasn't successfully mapped your local file to your served file. The diagnostics in the console window will tell us.
— Reply to this email directly or view it on GitHub https://github.com/sokolovstas/SublimeWebInspector/issues/17#issuecomment-169067942 .
Angelkuga
Can you please copy the text out of the console and share all of it? It's the black and white region at the bottom of your picture.
i copy the console text in a file you can open it and see
On Wed, Jan 13, 2016 at 11:09 AM, Dan Moseley notifications@github.com wrote:
Can you please copy the text out of the console and share all of it? It's the black and white region at the bottom of your picture.
— Reply to this email directly or view it on GitHub https://github.com/sokolovstas/SublimeWebInspector/issues/17#issuecomment-171147708 .
Angelkuga
DPI scale: 1
startup, version: 3083 windows x64 channel: stable
executable: /D/Program Files/Sublime Text 3/sublime_text.exe
working dir: /D/Program Files/Sublime Text 3
packages path: /C/Users/jdm6462/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/jdm6462/AppData/Roaming/Sublime Text 3/Local
zip path: /D/Program Files/Sublime Text 3/Packages
zip path: /C/Users/jdm6462/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Vintage"]
pre session restore time: 2.64484
startup time: 3.90684
first paint time: 3.97784
reloading plugin Default.block
reloading plugin Default.comment
reloading plugin Default.copy_path
reloading plugin Default.delete_word
reloading plugin Default.detect_indentation
reloading plugin Default.duplicate_line
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_file_settings
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.quick_panel
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.swap_line
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.trim_trailing_white_space
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.02-bz2
reloading plugin CSS Format.css_format
reloading plugin Emmet.emmet-plugin
reloading plugin HTMLBeautify.HTMLBeautify
reloading plugin JsFormat.js_formatter
reloading plugin LESS.less_completions
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin SCSS.scss_completions
reloading plugin Web Inspector.config
reloading plugin Web Inspector.protocol
reloading plugin Web Inspector.styles
reloading plugin Web Inspector.swi
reloading plugin Web Inspector.utils
reloading plugin Web Inspector.views
reloading plugin Web Inspector.websocket
reloading plugin cssrem.cssrem
reloading plugin SublimeLinter-contrib-eslint.linter
Traceback (most recent call last):
File "D:\Program Files\Sublime Text 3\sublime_plugin.py", line 74, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/init.py", line 90, in import_module
File "
and a notice that in the end it says "Found no local match" but i don't know what kind of file it want to match
On Wed, Jan 13, 2016 at 1:22 PM, Kuga Angel angelkuga@gmail.com wrote:
i copy the console text in a file you can open it and see
On Wed, Jan 13, 2016 at 11:09 AM, Dan Moseley notifications@github.com wrote:
Can you please copy the text out of the console and share all of it? It's the black and white region at the bottom of your picture.
— Reply to this email directly or view it on GitHub https://github.com/sokolovstas/SublimeWebInspector/issues/17#issuecomment-171147708 .
Angelkuga
Angelkuga
@Angelkuga I think it got cut off. Can you paste the full thing on https://gist.github.com/ and share the link? But from your screenshot, I see you're trying to set a breakpoint in index.html. You should be able to see something like
====Notified of url http://my.stuff/foo/index.html === ....// lots of lines here... Matched e:\abc\def\index.html
This means that the browser (Chrome) told it that the web page used a file at URL http://my.stuff/foo/index.html. Then Web Inspector needs to figure out what local file this is -- what file it is in Sublime. For example you might have the file e:\abc\def\index.html open in Sublime. It will make lots of guesses, comparing different substrings of the URL and the files and folders you have open in Sublime. It does not look at the file content.
In this example you want it to figure out that http://my.stuff/foo/index.html is the same thing as e:\abc\def\index.html . It will say "Matched e:\abc\def\index.html" for example. Does it make this match?
One possible problem is that the file name is not included in the URL. For example if you're navigating to "http://foo.com/bar" and the server returns a file named index.html, Web Inspector will not know that the two refer to the same thing. To fix that, Web Inspector would need to be able to read custom mappings out of a configuration file.
Do you want to offer a pull request?
I can get chrome to open and start debugging and I have the console working, but when I try to add a breakpoint nothing happens.
I have the following errors in the bottom console window:
[4560:2672:0318/093557:ERROR:connection.cc(730)] sqlite error 19, errno -2: PRIMARY KEY must be unique [4560:6612:0318/093602:ERROR:textfield.h(162)] NOT IMPLEMENTED
Thanks for your hard work, this could potentially be hugely useful.