Go Job Hunting at the LQ Job Marketplace
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 07-12-2004, 10:03 AM   #1
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
last revise: bbb

void mac()
Old 10-01-2004, 11:28 AM   #2
Senior Member
Registered: Mar 2004
Location: england
Distribution: Debian, Mint, Puppy, Raspbian
Posts: 3,371

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

"gcc -g" i believe


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

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

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

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