Codeblocks не показывает ошибки

This is probably a really noob question, but the fact of the matter is that my Code::blocks wouldn’t show me errors when it compiles — it only shows a red bar next to the offending line as shown in screenshot. Also, when my code does run and has output, CB opens a new window instead of showing the output in a pane in the bottom of the editor window like some other IDEs. How do I enable either/both, since they’re probably the same feature? Thanks!alt text

asked Dec 15, 2010 at 23:48

Bad Request's user avatar

3

Press F2 to enable Logs panel. Select «Build log» in it.

Or go to menu: View -> Logs

Have a good developing!

answered Dec 15, 2010 at 23:51

osgx's user avatar

osgxosgx

89.8k53 gold badges355 silver badges509 bronze badges

1

go to view -> perspective -> and enable code::Blocks default, you can see your projects left side and down the build logs and messages etc.

answered Nov 16, 2015 at 9:40

Mamatha .G's user avatar

0

If after hitting F2, you don’t see «Log & others» tab

You need choose: «View» ==> «Perspective» ==> «Delete current»

answered Oct 2, 2019 at 14:45

leminhnguyen's user avatar

leminhnguyenleminhnguyen

1,4702 gold badges13 silver badges19 bronze badges

You just need to hit F2 to enable the «log & others» pane.

answered Jul 20, 2015 at 4:41

Akash Verma's user avatar

Akash VermaAkash Verma

6181 gold badge11 silver badges13 bronze badges

Steps :View ->Perspective ->Delete
works definitely, if F2 and view logs don’t work.

answered Nov 4, 2021 at 9:37

shaikh nifa's user avatar

Topic: Can’t see error messages  (Read 100987 times)

-RooneY-

Hi all,

Code::Blocks has been an amazing IDE but after some initial time, I don’t exactly remember what happened, the error messages which appeared at the bottom of the screen just disappeared. The window at the bottom is no longer there and although I have explored and tried everything, I can’t see any error messages. Just a breakpoint on the line where error exists. I have tried reinstalling several times as well.

Any help would be absolutely fantastic,

Regards
Rooney


Logged


Hi all,

Code::Blocks has been an amazing IDE but after some initial time, I don’t exactly remember what happened, the error messages which appeared at the bottom of the screen just disappeared. The window at the bottom is no longer there and although I have explored and tried everything, I can’t see any error messages. Just a breakpoint on the line where error exists. I have tried reinstalling several times as well.

Any help would be absolutely fantastic,

Regards
Rooney

What do you mean if you say the window at the bottom is no longer there ?
Do you mean the whole logger window, including codeblocks log, search pane etc ?

Make sure that «View -> Logs» is checked.

If that does not help, you can try to delete the current layout («View -> Layouts -> Delete current»).

By the way:
you should always post which version of C::B, which OS (and version) and which wxWidgets-version you use.


Logged


-RooneY-

Oh damn,

Thank you Jens !

The first solution you told, solved it.

I knew I would feel dumb after getting it right  :)


Logged


I have the same issue now. Even after Logs is checked in view menu, log window does not appear.  I am using CB16.01 and in this I do not see View-> Layouts menu at all. So how to reset all windows to default?


Logged


@pmahesha:

Edit2: OS means operating system

By the way:
you should always post which version of C::B, which OS (and version) and which wxWidgets-version you use.


Logged

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.

When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org


I have the same issue now. Even after Logs is checked in view menu, log window does not appear.  I am using CB16.01 and in this I do not see View-> Layouts menu at all. So how to reset all windows to default?

You post in a nine year old thread and some things have changed, including menutitles.
It’s «View -> perspectives» now.


Logged


That worked (Perspectives -> Delete current)


Logged


Помогаю со студенческими работами здесь

Настроить Codeblocks
Гуру, помогите новичку!
Раньше кодил под Win-консоль в блокноте и запускал компиляцию BAT-ником……

Xampp. Как настроить показ ошибок?
Всем привет) Установил xampp. Если пишу скрипт правильно(без ошибок) то все робит, если с ошибками,…

Помогите настроить CodeBlocks…
Скачал CodeBlocks 10,5 ,при установки поставил везде галочки .Потом решил проверить…

Как настроить проверку ошибок в Sublime Text 3?
Здравствуйте.
Нужно настроить Linter в ST3 так, чтобы он подсвечивал ошибки.

"linters": {

Как сну ля ПОЛНОСТЬЮ БЕЗ ошибок настроить KMail?
Нужна ПОЛНАЯ инструкция, например:

Устанавливаем дистр с KDE (KDE neon, Kubuntu и т.д.)
Теперь…

Как настроить lamp для отлова ошибок в Yii1?
Добрый день,

Такая проблемка, часть ошибок в yii не отлавливаются на моем lamp сервере ,…

Искать еще темы с ответами

Или воспользуйтесь поиском по форуму:

3

Вероятно, это действительно нубский вопрос, но в том-то и дело, что мои Code::blocks не будут показывать мне ошибки при компиляции — он показывает только красную полосу рядом с ошибочной строкой, как показано на скриншоте. Кроме того, когда мой код запускается и имеет вывод, CB открывает новое окно вместо отображения вывода на панели в нижней части окна редактора, как некоторые другие IDE. Как я могу включить один или оба, так как они, вероятно, одна и та же функция? Спасибо!альтернативный текст

2010-12-15 23:48

5
ответов

Решение

Нажмите F2, чтобы включить панель журналов. Выберите в нем «Журнал сборки».

Или зайдите в меню: View -> Logs

Хорошего развития!

2010-12-15 23:51

Перейдите к просмотру -> перспектива -> и включите code::Blocks по умолчанию, вы можете видеть ваши проекты слева и вниз по журналам сборки и сообщениям и т. д.

2015-11-16 09:40

Если после нажатия F2 вы не видите вкладку «Журнал и другие»

Вам нужно выбрать: «Просмотр» ==> «Перспектива» ==> «Удалить текущий»

2019-10-02 17:45

Вам просто нужно нажать F2, чтобы включить панель «log & others».

2015-07-20 04:41

Шаги: View ->Perspective ->Delete работает определенно, если F2 и просмотр журналов не работают.



04 ноя ’21 в 12:37
2021-11-04 12:37

2021-11-04 12:37

программирование

  • Программирование

(компилятор не показывает ошибки) Язык Си. Почему программа не работает?

1X_6VjO7L5M.jpg


  • Вопрос задан

    более трёх лет назад

  • 844 просмотра



1

комментарий

  • lazalu68

    google -> «code blocks build file no target»

Пригласить эксперта


Ответы на вопрос 2

lynx06

Возможные ошибки: (не весь код видно)
1. Подключен iostream вместо stdio.h
2. Других ошибок в коде не вижу. Попробуй скопировать код и создать новый проект через Empty File.
Сразу извини если не здесь с codeblock-сом не дружу.


Комментировать

Xilian

@Xilian

Программист 1С, сетевые технологии, SQL

Code::blocks не очень дружелюбен к начинающим. У тебя настройки линкера и компилятора не указаны.


Комментировать


Похожие вопросы


  • Показать ещё
    Загружается…

21 июн. 2023, в 21:40

2000 руб./в час

21 июн. 2023, в 21:22

600 руб./за проект

21 июн. 2023, в 21:21

600 руб./за проект

Минуточку внимания

  • Code net apex legends ошибка
  • Code leaf apex legends ошибка
  • Code language not supported or defined ошибка
  • Code 9999 message undefined command xvacuum firmware ошибка
  • Code 9908 genshin impact ошибка