|
33.
|
|
|
Debug Functions
|
|
|
|
Функции отладки
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/developer_tools.rst:127
|
|
34.
|
|
|
Returns a pair giving the filename and line number of the current statement.
|
|
|
|
Возвращает имя файла и номер строки текущего оператора.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/debug:5
|
|
35.
|
|
|
If :var:`config.log` is not set, this does nothing. Otherwise, it opens the logfile (if not already open), formats the message to 70 columns, and prints it to the logfile.
|
|
|
|
Если :var:`config.log` не установлен, не делает ничего, в противном случае печатает сообщение в файл журнала.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/debug:10
|
|
36.
|
|
|
This watches the given python expression, by displaying it in the upper-left corner of the screen (although position properties can change that). The expression should always be defined, never throwing an exception.
|
|
|
|
Это наблюдает за указанным выражением Python, указывая его значение в левом верхнем углу экрана. Это выражение должно всегда быть определенным и не вызывать исключений.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/debug:16
|
|
37.
|
|
|
A watch will not persist through a save or restart.
|
|
|
|
Просмотр будет остановлен при сохранении игры или перезапуске.
|
|
Translated and reviewed by
theadmin
|
|
|
|
Located in
../../source/inc/debug:21
|