FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Can't start gdb

 
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users
View previous topic :: View next topic  
Author Message
tarlou



Joined: 05 Nov 2009
Posts: 2

PostPosted: Thu Nov 05, 2009 9:42 am    Post subject: Can't start gdb Reply with quote

Hi all,
I'm using netbeans 6.7.1 and gdb 7.0 on kde. The problem is gdb can't be started and I can't debug any C/C++ program.
When start debug, a dialog shows: "External terminal [/usr/bin/konsole, -e, /tmp/gdb_helper_7554591944592321692.sh] failed to launch, return code 0". At the same time a konsole windows shows with the only text "[Press Enter to close window]".
gdb works very well if i start it in console. But it is very boring that i can't debug in netbeans. Is there any way to get it work? Thanks very much.
Back to top
View user's profile Send private message
soldatov



Joined: 05 Nov 2009
Posts: 4

PostPosted: Thu Nov 05, 2009 5:38 pm    Post subject: Reply with quote

NetBeans 6.7.1 has problems with Konsole from KDE4. You need select other terminal (call context menu on project, select Properties menu item and change "Run|Console Type" or "Run|Terminal Type")
Back to top
View user's profile Send private message
tarlou



Joined: 05 Nov 2009
Posts: 2

PostPosted: Fri Nov 06, 2009 4:33 am    Post subject: Reply with quote

it works, Thank you!
Back to top
View user's profile Send private message
Egor Ushakov
Posted via mailing list.





PostPosted: Mon Nov 09, 2009 1:59 pm    Post subject: Can't start gdb Reply with quote

Hello,

can you please check the issue:
https://netbeans.org/bugzilla/show_bug.cgi?id=168997
it was fixed in the NB 6.8 branch.

A workaround is to use output window:
Project properties/Run/Console type -> output window

Egor

tarlou wrote:
Quote:
Hi all,
I'm using netbeans 6.7.1 and gdb 7.0 on kde. The problem is gdb can't be started and I can't debug any C/C++ program.
When start debug, a dialog shows: "External terminal [/usr/bin/konsole, -e, /tmp/gdb_helper_7554591944592321692.sh] failed to launch, return code 0". At the same time a konsole windows shows with the only text "[Press Enter to close window]".
gdb works very well if i start it in console. But it is very boring that i can't debug in netbeans. Is there any way to get it work? Thanks very much.




Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> C/C++ Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB