NetBeans Forums

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

6.9 no command line arguments with Debugger

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



Joined: 08 Feb 2011
Posts: 1

PostPosted: Tue Feb 08, 2011 9:48 pm    Post subject: 6.9 no command line arguments with Debugger Reply with quote

I am using Netbeans 6.9 C++. When I put in command-line arguments and then try to debug, it is as if no command-line arguments are there. It works when I run it, but not when I use the debugger. Does anyone know the solution?

In 6.8 there is no issue, only in 6.9, however I am required to use 6.9 for what I am working on.

Thanks!
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 446

PostPosted: Tue Feb 08, 2011 11:11 pm    Post subject: Reply with quote

Strange if debugger arguments worked in NetBeans 6.8. In gdb 7.2 some command is deprecated and original NetBeans 6.9 has a described problem (https://netbeans.org/bugzilla/show_bug.cgi?id=190919). If you uses NetBeans from http://www.netbeans.org, then IDE should inform you about this fix.
Back to top
krishna_4all



Joined: 28 Feb 2011
Posts: 1

PostPosted: Mon Feb 28, 2011 8:56 am    Post subject: command line argumens using netbeans with gdb version 7.1 is fixed instead 7.2 Reply with quote

I am using the ubuntu10.10. I am also using the netbeans 6.9. I got the same problem of command line arguments are not showing in debug mode using netbeans. The problem was fixed by uninstalling the gdb7.2 and installing the gdb7.1. worked well for me. Laughing
Back to top
carl24k



Joined: 21 Apr 2011
Posts: 2

PostPosted: Thu Apr 21, 2011 2:06 pm    Post subject: Reply with quote

I also have ubuntu 10.10, netbeans 6.9, gdb 7.2 and the same problem. But I am a netbeans newbie and not quite sure how to install gdb 7.1; I can uninstall gdb 7.2 using synaptic, but can you give me a hint on how to install gdb 7.1? many thanks.
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 446

PostPosted: Thu Apr 21, 2011 4:57 pm    Post subject: Reply with quote

carl24k wrote:
I also have ubuntu 10.10, netbeans 6.9, gdb 7.2 and the same problem. But I am a netbeans newbie and not quite sure how to install gdb 7.1; I can uninstall gdb 7.2 using synaptic, but can you give me a hint on how to install gdb 7.1? many thanks.

I think you need:
- Push Tools|Plugins menu item
- Activate Settings tab
- Switch on "NetBeans" repository
- Press Reload button in Updates tab
- Install all updates
Back to top
carl24k



Joined: 21 Apr 2011
Posts: 2

PostPosted: Fri Apr 22, 2011 12:12 pm    Post subject: Reply with quote

Thanks! That worked. Just to be clear in case anyone else reads this: DON'T uninstall gdb. DO update NetBeans.
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