LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-20-2018, 07:29 PM   #1
-Ben-
LQ Newbie
 
Registered: Mar 2018
Posts: 2

Rep: Reputation: Disabled
Where are Code Comments


I am doing some debugging of the Bluez source code in order to solve an issue I am having. There are literally no comments in the code. Are the comments stored externally somewhere. If so can you provide me with a guide on how to view them.

Thanks
 
Old 03-20-2018, 07:34 PM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Quote:
There are literally no comments in the code.
Uh, that is literally not true.

https://github.com/aguedes/bluez/blo.../lib/hci.h#L63
 
Old 03-20-2018, 07:55 PM   #3
-Ben-
LQ Newbie
 
Registered: Mar 2018
Posts: 2

Original Poster
Rep: Reputation: Disabled
I guess I meant useful comments.

I have been looking at.
https://github.com/hadess/bluez/blob.../advertising.c

I was expecting there would be a few comments relating to the Structures and what their members are used for.
 
Old 03-20-2018, 09:40 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
In order to read code you need to know the programming language a little bit too. That object is a bit light on comments though.
 
Old 03-21-2018, 07:09 AM   #5
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Have you visited the developer's site where they maintained this? http://www.bluez.org/development/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Clang Can Analyze Code Comments, Generate Docs LXer Syndicated Linux News 0 11-18-2012 01:53 AM
Turn [IMG] code on in blog comments Kenny_Strawn LQ Suggestions & Feedback 2 07-10-2010 09:36 AM
Remove Java code comments HiOctane21 Programming 9 04-28-2007 09:52 AM
Using egrep to display C++ code without comments ckoniecny Linux - General 2 11-07-2006 11:49 PM
Removing comments from C++ source code Nylex Programming 8 11-22-2005 04:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration