Delphi FAQ - Часто задаваемые вопросы

| Базы данных | Графика и Игры | Интернет и Сети | Компоненты и Классы | Мультимедиа |
| ОС и Железо | Программа и Интерфейс | Рабочий стол | Синтаксис | Технологии | Файловая система |


Как отлаживать консольные приложения

As with Delphi you can use Kylix to write console applications even though many people think that's not important. ;-)

When you start a console program in the Delphi Debugger it automatically opens a console window ("DOS command prompt") where you can see the output of e.g. the writeln command.

Kylix doesn't do that automatically and if you don't look hard enough you might think it is impossible to debug console applications with it.

But if you open the run / parameters dialog you will find an entry called "Use Launcher Application" that is prefilled with xconsole. Just tick this option and there you go.

Copyright © 2004-2016 "Delphi Sources". Delphi World FAQ

Группа ВКонтакте   Ссылка на Twitter   Группа на Facebook