понимание ведения журнала ошибок «Ошибка запуска макета»

Я выполняю некоторую работу с диаграммами и получил однострочное сообщение «Ошибка запуска макета», когда на диаграмме ничего не создавалось. Изучив это, я обнаружил, что мне нужно добавить несколько дополнительных файлов сценариев для создания файлов журнала, как указано здесь:

Layout Failures

As result of the design for the layout engine in 4.1, it is possible for improper configuration (or a bug) to cause a layout run to fail to complete all of its calculations. When this occurs, the layout simply stops and the partial results that have been flushed to the DOM are all that is visible. In some cases, the layout may be 99% complete and the failure may go undetected or appear as a minor visual anomaly. In other cases, the layout may fail early and leave the UI in a clearly broken state (much like a JS error during layout would do in previous versions).

Diagnostics

The first step if you suspect you are seeing a layout failure is to enable the layout diagnostics. This is done by replacing the normal "ext-all.js" file with "ext-all-dev.js" and adding a couple additional scripts.

Я добавил необходимые скрипты:



И теперь я получаю диагностические данные, которые я не могу понять -, похоже, это не диагностирует ошибку:

++printer - size: configured/shrinkWrap
    --statprint-1472 - size: configured/configured
        triggeredBy: count=1
            statprint-1472.containerChildrenDone:dom () dirty: false, setBy: ?
        --chart-1473 - size: shrinkWrap/shrinkWrap
            triggeredBy: count=1
                chart-1473.containerChildrenDone:dom (true) dirty: false, setBy: ?
    ++panel-1474 - boxParent: printer - size: natural/configured
    ++panel-1474 - boxParent: printer - size: natural/configured
    ++statprint-1472 - size: configured/configured
        ++statprint-1472_header [isBoxParent] - size: calculated/shrinkWrap
        ++statprint-1472_header [isBoxParent] - size: calculated/shrinkWrap
            ++statprint-1472_header_hd [isBoxParent] - size: calculated/shrinkWrap
            ++tool-1475 [isBoxParent] - size: configured/configured

Кто-нибудь знает, где объясняется диагностическая информация?

12
задан Acinom Etatsnier 16 January 2013 в 02:49
поделиться