Просто начал использовать DDD с Ubuntu. Я могу делать основные операции (шаг и смотреть) без каких-либо проблем.
Но когда я пытаюсь просмотреть график, он застревает на экране "Запуск gnuplot".
Когда я отменяю диалоговое окно, DDD выходит со следующим сообщением об ошибке:
Warning: XmStringGetNextComponent: unknown type 154941792
(Annoyed? Try 'Edit->Preferences->General->Suppress X Warnings'!)
Warning: XmStringGetNextComponent: unknown type 153210976
Warning: XmStringGetNextComponent: unknown type 154944592
Warning: XmStringGetNextComponent: unknown type 154943384
Warning: XmStringGetNextComponent: unknown type 154999536
Warning: XmStringGetNextComponent: unknown type 154998648
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 10 (X_UnmapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 16950
Current serial number in output stream: 16953
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 10 (X_UnmapWindow)
Resource id in failed request: 0x0
Serial number of failed request: 16952
Current serial number in output stream: 17116
X error (invalid Window parameter).
Oops! You have found a bug in DDD.
If you can reproduce this bug, please send a bug report
to <ddd@gnu.org>, giving a subject like
DDD 3.3.11 (i486-pc-linux-gnu) gets `BadWindow' error
To enable us to fix the bug, you should include the following information:
* What you were doing to get this message. Report all the facts.
* The contents of the `~/.ddd/log' file as generated by this session.
Please read also the section "Reporting Bugs" in the DDD manual.
We thank you for your support.
код, который я использую для тестирования это
#include<iostream>
using namespace std;
int main()
{
int a[10];
for(int z=0;z<=10;z++)
{
a[z]=z;
cout<<z;
}
return 0;
}
используя Ubuntu 10.04 установили gnuplot из
sudo apt-get install gnuplot