summaryrefslogtreecommitdiffstats
path: root/webkit/glue/devtools/js/debugger_agent.js
Commit message (Collapse)AuthorAgeFilesLines
* Merge 33197 - Support context data in form of a stringsgjesse@chromium.org2009-11-271-2/+26
| | | | | | | | | | | | | | | WbeKit bug 31873 (https://bugs.webkit.org/show_bug.cgi?id=31873) changes the context "data" from a JavaScript object to a string. This c$ BUG=23058 TEST=none Review URL: http://codereview.chromium.org/443002 TBR=sgjesse@chromium.org Review URL: http://codereview.chromium.org/447002 git-svn-id: svn://svn.chromium.org/chrome/branches/249/src@33222 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: wait for initial scripts response before processing backtrace responseyurys@google.com2009-11-111-0/+39
| | | | | | | | | BUG=27381 TEST=DevToolsSanityTest.TestPauseWhenLoadingDevTools Review URL: http://codereview.chromium.org/384045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31673 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Turn pause on exceptions off by default (as in Web Inspector and ↵pfeldman@chromium.org2009-11-061-1/+1
| | | | | | | | Firebug). Review URL: http://codereview.chromium.org/373010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31226 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: prepare for WebKit change 50460.mnaganov@chromium.org2009-11-031-1/+3
| | | | | | | | | | | TBR=pfeldman@chromium.org BUG=none TEST=none Review URL: http://codereview.chromium.org/355012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30829 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add all scripts from afterCompile events when scripts panel is ↵yurys@google.com2009-10-311-5/+13
| | | | | | | | | | shown for the first timeBUG=26312 TEST=DevToolsSanityTest.TestScriptsTabIsPopulatedOnInspectedPageRefresh Review URL: http://codereview.chromium.org/341057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30664 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: allow expanding constructor propertyyurys@google.com2009-10-191-2/+1
| | | | | | | | BUG=24895 TEST=DevToolsSanityTest.TestDebugIntrinsicProperties Review URL: http://codereview.chromium.org/292014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29404 0039d316-1c4b-4281-b951-d872f2087c98
* Fix heap profiler after a WebKit roll.apavlov@chromium.org2009-10-161-1/+2
| | | | | | | | The API for ProfilesPanel was changed slightly. Review URL: http://codereview.chromium.org/276061 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29282 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: enable DevToolsSanityTest.TestCompletionOnPause that failed ↵yurys@google.com2009-10-151-1/+0
| | | | | | | | | because WebKit@49557 was not rolled. BUG=24805 Review URL: http://codereview.chromium.org/271100 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29101 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: support autocompletion when script is pausedyurys@google.com2009-10-141-0/+92
| | | | | | Review URL: http://codereview.chromium.org/277001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28961 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: show heap profiles in "Profiles" tab, remove temporary "Heap" tab.mnaganov@chromium.org2009-10-081-1/+1
| | | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/268017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28413 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: allow inspecting __proto__, constructor, prototype ↵yurys@google.com2009-10-071-2/+4
| | | | | | | | properties.BUG=23647 Review URL: http://codereview.chromium.org/262005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28247 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: autoresume execution on parse errors.yurys@google.com2009-09-241-2/+3
| | | | | | | | | BUG=22852 TEST=DevToolsSanityTest.TestAutoContinueOnSyntaxError Review URL: http://codereview.chromium.org/218026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27067 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: don't duplicate eval scripts on each panel switch. yurys@google.com2009-09-181-8/+0
| | | | | | Review URL: http://codereview.chromium.org/211012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26562 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: provisional support for scopes of type 'Catch' introduced in v8 by ↵yurys@google.com2009-09-081-1/+5
| | | | | | | | | http://codereview.chromium.org/202005 BUG=17229 Review URL: http://codereview.chromium.org/200039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25613 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: call a no-op function from the utility context to trigger v8 ↵yurys@google.com2009-09-041-41/+3
| | | | | | | | execution instead of evaluating javascript:void(0). This way we don't need to filter out AfterCompile events for 'javascript:void(0)' scripts. Review URL: http://codereview.chromium.org/195013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25439 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: scripts request is now sent only when context id is received(if we ↵yurys@google.com2009-09-041-16/+54
| | | | | | | | | send scripts request right after context id request there is no guarantee that their responses will come in the same order). BUG=19858 Review URL: http://codereview.chromium.org/193006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25435 0039d316-1c4b-4281-b951-d872f2087c98
* Support conditional breakpoints in DevTools (backend) to follow WebKitapavlov@chromium.org2009-09-021-4/+65
| | | | | | | | BUG= https://bugs.webkit.org/show_bug.cgi?id=28846 (upstream) TEST= conditional breakpoints work with a local WebKit frontend patch Review URL: http://codereview.chromium.org/182042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25165 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Close inspector controller on detach; hide node highlight on ↵pfeldman@chromium.org2009-09-011-8/+0
| | | | | | | | | | detach; mitigate new callframe migration in WebKit. BUG=20554 Review URL: http://codereview.chromium.org/178053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25023 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Provisional commit to handle Web inspector call frame changes ↵pfeldman@chromium.org2009-08-311-1/+1
| | | | | | | | | upstream. TBR=yurys git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24893 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate to the new InjectedScript-based CallFrame.pfeldman@chromium.org2009-08-241-237/+143
| | | | | | Review URL: http://codereview.chromium.org/173266 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24135 0039d316-1c4b-4281-b951-d872f2087c98
* Fix WebInspector breakpoint removal broken after WebKit changes (disabling a ↵apavlov@chromium.org2009-08-171-1/+7
| | | | | | | | breakpoint effectively removes it in our implementation). Review URL: http://codereview.chromium.org/164561 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23542 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: add initial stuff for Heap profiler.mnaganov@chromium.org2009-08-051-23/+50
| | | | | | | | | | | Only adds a simple text-only tab which displays heap-related log. BUG=none TEST=none Review URL: http://codereview.chromium.org/159631 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22477 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: prepare for l10n.mnaganov@chromium.org2009-08-031-5/+11
| | | | | | | | | | | | User-visible strings are now obtained through WebInspector.UIString method. Added .grd files for WebKit Inspector and Chromium DevTools strings. BUG=none TEST=none Review URL: http://codereview.chromium.org/160454 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22264 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: hide script for javascript:void(0)yurys@google.com2009-07-301-2/+31
| | | | | | Review URL: http://codereview.chromium.org/159636 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22053 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: print function source in eval selection requests.pfeldman@chromium.org2009-07-231-0/+3
| | | | | | Review URL: http://codereview.chromium.org/155918 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21377 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Handle errors in evaluation response.pfeldman@chromium.org2009-07-221-5/+7
| | | | | | Review URL: http://codereview.chromium.org/159191 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21268 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: small UI improvements.mnaganov@chromium.org2009-07-211-1/+12
| | | | | | | | | | | | - if profile is generated, and no profile is shown, show the new one; - display processed ticks count during processing to show that we're alive. BUG=none TEST=none Review URL: http://codereview.chromium.org/159135 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21176 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: remember variable tree expansion state while debugging.pfeldman@chromium.org2009-07-201-0/+24
| | | | | | | | BUG=17233 Review URL: http://codereview.chromium.org/155770 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@21074 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: mitigate WebKit console API changes.pfeldman@chromium.org2009-07-141-0/+1
| | | | | | Review URL: http://codereview.chromium.org/155490 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20613 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: postpone after-compile event propagation to the UI until scripts ↵pfeldman@chromium.org2009-07-101-8/+23
| | | | | | | | panel is shown. Review URL: http://codereview.chromium.org/155352 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20374 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Show exception message in a resource message bubble while stopped ↵pfeldman@chromium.org2009-07-101-0/+69
| | | | | | | | on exception. Review URL: http://codereview.chromium.org/155349 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20373 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: handle call frames with unresolved script sources upon exception ↵pfeldman@chromium.org2009-07-081-7/+22
| | | | | | | | break. Review URL: http://codereview.chromium.org/149329 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20147 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Push context id to the client on 'window object cleared' event.pfeldman@chromium.org2009-07-081-21/+11
| | | | | | Review URL: http://codereview.chromium.org/155217 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20146 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Issue 'scripts' command on attach only, work based on ↵pfeldman@chromium.org2009-07-071-6/+0
| | | | | | | | | | after_compile events in the rest of the cases (such as refresh). BUG=15825 Review URL: http://codereview.chromium.org/155138 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20021 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: clear breakpoints when devtools window is closing. This change ↵yurys@google.com2009-07-071-0/+2
| | | | | | | | | depends on v8 change: http://codereview.chromium.org/149197 BUG=15993 Review URL: http://codereview.chromium.org/155090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20020 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Provisional support for global properties' and scope roots ↵pfeldman@chromium.org2009-07-061-0/+23
| | | | | | | | completion in console. Review URL: http://codereview.chromium.org/155074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19937 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: show all scopes for current call frame in the scopes pane.yurys@google.com2009-06-291-14/+75
| | | | | | | BUG=13674 Review URL: http://codereview.chromium.org/132069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19484 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Mute aftercompile events until 'scripts' result is ready.pfeldman@chromium.org2009-06-221-0/+9
| | | | | | | | BUG=14221 Review URL: http://codereview.chromium.org/140059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18902 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: when script has URL all breakpoints are set using that URL and ↵yurys@google.com2009-06-191-26/+65
| | | | | | | | | line number, otherwise breakpoint is set using script id and line number. Breakpoints set using URL will survive page reload. BUG=13675 Review URL: http://codereview.chromium.org/131036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18793 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Migrate to new WebKit console API.pfeldman@chromium.org2009-06-171-18/+0
| | | | | | Review URL: http://codereview.chromium.org/125244 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18610 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Provisional commit for ↵pfeldman@chromium.org2009-06-151-14/+23
| | | | | | | | https://bugs.webkit.org/attachment.cgi?id=31255 landing. Review URL: http://codereview.chromium.org/125119 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18377 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: extension content script names are shown with a background color ↵yurys@google.com2009-06-151-5/+30
| | | | | | | | | different from other scripts. BUG=13677 Review URL: http://codereview.chromium.org/125116 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18374 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: when injected script context is created its context data is set to ↵yurys@google.com2009-06-111-1/+1
| | | | | | | | | the value derived from the context data of the page it's injected in. It allows to match injected scripts with the inspected page. BUG=13676 Review URL: http://codereview.chromium.org/122036 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18164 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: do not skip first array element.pfeldman@chromium.org2009-06-111-1/+1
| | | | | | Review URL: http://codereview.chromium.org/122037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18161 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: better handling of DevTools' reset and initial load.mnaganov@chromium.org2009-06-051-35/+41
| | | | | | | | | | | Rationale: as V8 can't be reset for the process, it means that profiling logs are permanent from the viewpoint of a DevTools instance. Thus, we don't need to reset Profiles panel UI as opposed to WebKit. BUG=none TEST=none Review URL: http://codereview.chromium.org/119175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17723 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools: Fix expression evaluation while on a breakpoint.pfeldman@chromium.org2009-06-041-1/+1
| | | | | | | | BUG=13251 Review URL: http://codereview.chromium.org/118236 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17637 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler: use sampling rate reported by V8 profiler.mnaganov@chromium.org2009-06-021-1/+2
| | | | | | | | | | | Also fix a small problem with displaying "Processing..." icon: handle the case when log processing finishes prior to 'didIsProfilingStarted_' arrived. BUG=none TEST=none Review URL: http://codereview.chromium.org/119039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17400 0039d316-1c4b-4281-b951-d872f2087c98
* DevTools Profiler UI changes.mnaganov@chromium.org2009-06-021-0/+16
| | | | | | | | | | | | | - filter our V8 natives; - display a notification that profile is being processed to avoid confusion; - do not display ".000" part when displaying time. BUG=none TEST=none Review URL: http://codereview.chromium.org/118112 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17399 0039d316-1c4b-4281-b951-d872f2087c98
* Separate results of profiling sessions.mnaganov@chromium.org2009-05-281-16/+14
| | | | | | | | | | Now data for each profiling session is collected separately (previously they were accumulated in a single profile). BUG=none TEST=none Review URL: http://codereview.chromium.org/113950 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17072 0039d316-1c4b-4281-b951-d872f2087c98
* Sync with the profiler changes in V8.mnaganov@chromium.org2009-05-261-47/+62
| | | | | | | | | - Use context prior to calling 'ResumeProfiler'. - Check the status of the profiler using 'IsProfilerPaused'. Review URL: http://codereview.chromium.org/115767 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16868 0039d316-1c4b-4281-b951-d872f2087c98