NetBeans Forums

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

C on mac OS X

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



Joined: 09 Jan 2017
Posts: 4

PostPosted: Mon Jan 09, 2017 4:18 pm    Post subject: C on mac OS X Reply with quote

Hello,

This might have been posted before but I could not find anything, so here it goes.

I have installed Netbeans 8.2 on OS X El Captain (version 10.11.6).

building works (following the procedures in the forums) but I cannot debug the code. My tool collections include GNU and CLang. The path is /usr/bin and gcc and make are connected for the compiler and make command (both for GNU) but no debugger.

When running a debug, it seems like some download is running but it never finishes and always restarts.

In the forum it says that Xcode should be dialled back to an earlier version, but I cannot do it because of other programs running on my system. How can i fix this?

Thanks
Back to top
sinaAESD



Joined: 09 Jan 2017
Posts: 4

PostPosted: Mon Jan 09, 2017 5:00 pm    Post subject: Reply with quote

update: I tried to install Xcode 4.something simultaneously with my current Xcode but I received the warning that this version is not compatible with my OS.
Back to top
soldatov



Joined: 05 Nov 2009
Posts: 597

PostPosted: Mon Jan 09, 2017 5:45 pm    Post subject: Reply with quote

- You can build GDB from source code
- You can use GDB from MacPorts, Homebrew, ...
- You can use lldb-mi from XCode
Back to top
sinaAESD



Joined: 09 Jan 2017
Posts: 4

PostPosted: Tue Jan 10, 2017 9:09 am    Post subject: Reply with quote

Thanks a lot, I used brew and it solved everything.
After your reply I found this and I post it here, may be it will be useful for some other new comer like me!

https://www.ics.uci.edu/~pattis/common/handouts/macmingweclipse/allexperimental/mac-gdb-install.html
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