NetBeans Forums

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

C Debug Program Arguments Not Working

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



Joined: 11 Oct 2010
Posts: 6

PostPosted: Mon Oct 11, 2010 12:50 am    Post subject: C Debug Program Arguments Not Working Reply with quote

I upgraded from Ubuntu 10.04 to 10.10 today, and as part of the process I reinstalled NB 6.9.1 for C/C++. I used to be able to successfully pass in program arguments by setting the arguments in the project's run configuration and debug using these arguments. Now I am unable to pass in arguments to debug with (the program name is the only argument passed in).

I need to fix this soon, any ideas?
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 604

PostPosted: Mon Oct 11, 2010 5:20 pm    Post subject: Re: C Debug Program Arguments Not Working Reply with quote

powerofpi wrote:
I upgraded from Ubuntu 10.04 to 10.10 today, and as part of the process I reinstalled NB 6.9.1 for C/C++. I used to be able to successfully pass in program arguments by setting the arguments in the project's run configuration and debug using these arguments. Now I am unable to pass in arguments to debug with (the program name is the only argument passed in).

I need to fix this soon, any ideas?

Some Ubuntu(GDB7.2?) specific bug. You needs to file bug: http://netbeans.org/bugzilla/enter_bug.cgi
Back to top
powerofpi



Joined: 11 Oct 2010
Posts: 6

PostPosted: Mon Oct 11, 2010 5:37 pm    Post subject: Re: C Debug Program Arguments Not Working Reply with quote

soldatov wrote:
You needs to file bug: http://netbeans.org/bugzilla/enter_bug.cgi


Could someone please confirm or deny that passing debug arguments is not working in Maverick? If it's confirmed I'll file the bug.
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 604

PostPosted: Mon Oct 11, 2010 6:00 pm    Post subject: Re: C Debug Program Arguments Not Working Reply with quote

powerofpi wrote:
soldatov wrote:
You needs to file bug: http://netbeans.org/bugzilla/enter_bug.cgi


Could someone please confirm or deny that passing debug arguments is not working in Maverick? If it's confirmed I'll file the bug.

Yes. I see your bug.
Back to top
powerofpi



Joined: 11 Oct 2010
Posts: 6

PostPosted: Mon Oct 11, 2010 6:02 pm    Post subject: Re: C Debug Program Arguments Not Working Reply with quote

soldatov wrote:

Yes. I see your bug.


Thanks. As a workaround, is there an easy way to roll back to a previous gdb version in Ubuntu that you know of?
Back to top
powerofpi



Joined: 11 Oct 2010
Posts: 6

PostPosted: Mon Oct 11, 2010 6:17 pm    Post subject: Reply with quote

Bug Filed (190919)
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 604

PostPosted: Mon Oct 11, 2010 6:31 pm    Post subject: Reply with quote

thanks
Back to top
powerofpi



Joined: 11 Oct 2010
Posts: 6

PostPosted: Mon Oct 11, 2010 6:42 pm    Post subject: Reply with quote

And thank you as well for enhancing my description and adding a log!
Back to top
powerofpi



Joined: 11 Oct 2010
Posts: 6

PostPosted: Mon Oct 11, 2010 7:03 pm    Post subject: Reply with quote

For anyone else affected by this bug, you can download GDB 7.1 at http://packages.ubuntu.com/lucid/gdb

Then go to Synaptic Package Manager and lock the version of gdb until the issue is resolved.
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo