segmentation fault in multiple source files

"pankaj chand" <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Message-ID <[email protected]>
hi
im using a program which has multiple source files (a few hundred), and im 
getting a Segmentation Fault in the execution. using ddd, i cant find out 
where and at which exact source code line (or function) the segmentation 
fault is being caused, because ddd allows only one source code file to be 
open at a time. so when i execute the program using ddd, i dont know which 
source file to keep open as i dont know where the segmentation fault is 
being caused.

furthermore, when i step through the program line by line, keeping the 
source file with the main() function open, how do i step through all the 
files (visuallly) as the control goes from one  source file to the next, 
since ddd allows only one source file to be open at a time.
the program im using is ns2 (network simulator) and the files are in c++.

can anyone please help me out here. how do i solve the abovementioned 
problems, and is there a way to keep multiple source files open.
i will be grateful for any suggestions or help i recieve

thanks in advance
regards
pankaj

_________________________________________________________________
Sign in and get updated on all the action from Formula One 
http://content.msn.co.in/Sports/FormulaOne/Default
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.