LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-12-2004, 09:03 AM   #1
SeanatIL
LQ Newbie
 
Registered: Jun 2004
Location: IL
Posts: 24

Rep: Reputation: 15
DDD setup--need help


I am debugging a project. Here I describe my problem: one of my file has a description on top of the file. When I trace into that file, the source code can't be displayed. When I traced into this file, I can only see one line(the top line) in the window.
"/*------------------------------------"
But when I use command line "list", I can display the current program line in command window. What is the reason? I guess there must be some enviroment variables that I didn't setup correctly thank.



in "mac.c"

/*--------------------------------------
filename: mac.c
company:aaa
last revise: bbb
----------------------------------------*/

void mac()
{
....
}
 
Old 10-01-2004, 10:28 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,269

Rep: Reputation: 165Reputation: 165
are you compiling with the debug info on?

"gcc -g" i believe
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ddd and lesstif deluc Programming 1 08-26-2003 02:41 AM
Ddd Zarnce Slackware 1 07-05-2003 10:02 PM
ddd Tommi Linux - Hardware 0 07-04-2003 12:49 PM
ddd debugger jclark00001 Linux - Software 1 06-23-2003 11:33 PM
ddd and lesstif pros Programming 1 10-13-2001 02:23 AM


All times are GMT -5. The time now is 10:58 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration