英語 での Web debug toolbar の使用例とその 日本語 への翻訳
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
That's when you start to need a web debug toolbar.
Figure 12-4- Web debug toolbar for pages using caching.
The number of database requests needed to display the job list page is 14,as shown by the web debug toolbar.
Chapter 16 will explore the web debug toolbar and its contents.
The web debug toolbar should show in the top right corner, including small.
By default,symfony automatically loads several web debug panels into your web debug toolbar.
To activate the web debug toolbar for an application, open the settings.
Of course,everyone already knows how symfony's detailed exceptions and web debug toolbar can greatly enhance productivity.
Figure 16-2- The web debug toolbar appears in the top-right corner of the window.
The elapsed time is available through the getElapsedTime() method,and displayed in the web debug toolbar with the others.
When displayed, the web debug toolbar offers a lot of information/interaction:.
The/sf alias gives you access to images andjavascript files needed to properly display default symfony pages and the web debug toolbar.
The web debug toolbar should show in the top right corner, including small icons.
The/sf alias gives you access to images andjavascript files needed to properly display default symfony pages and the web debug toolbar.
The web debug toolbar should show in the top right corner, including small icons proving that your sf/ alias configuration is correct.
When you browse to a page that contains cacheable elements(action, partials, fragments,and so on), the web debug toolbar(in the top-right corner of the window) shows an ignore cache button(a green, rounded arrow), as shown in Figure 12-4.
The web debug toolbar should show in the top right corner, including small icons proving that your sf/ alias configuration is correct.
Listing 16-11 shows how to use the web debug toolbar for developer's feedback from a template(you can also use$this-gt;logMessage() from an action).
The web debug toolbar shows the number of queries for each page, and clicking the little database icon reveals the SQL code of these queries.
As the plugin uses the web debug toolbar as its main user interface, be sure to have it enabled(which the case in the development environment by default).
Remember that the web debug toolbar displays the time taken by each query in a page, and that every tweak should be monitored to determine whether it really improves performance.