On 12/3/19 3:38 PM, Behrooz Karami wrote:
> 
> I am trying to debug Dealii examples in Eclipse.
> 
> The project is compiled and run perfectly  on its own.
> 
> However, when I want to try debugging and following classes and 
> functions, it comes across to files that do not exist (at least to me). 
> For example it looks for the file tria.cc which does not exist. There 
> exists of course tria.H (somewhere else) but not tria.CC. Besides, it 
> looks for that in a path and folder which again do not exist!
> In some cases which the file extension is correct (e.g. it is .h) I 
> could resolve the issue by giving the file location, however it is not  
> convenient to address header files one by one.
> 
> Any ideas or suggestions are appreciated.

How did you install deal.II? If you installed it and then deleted the 
source files for deal.II, then necessarily you can't go into them in a 
debugger because the executable only records file and line numbers for 
each statement you are trying to execute, but there is no way to look up 
what the code looked like for these lines.

So if you want to debug into deal.II classes, you need to have access to 
the original source files. That means not deleting the directory in 
which deal.II was unpacked and from which it was compiled. I suspect 
that at least some of the ways in which we distribute deal.II (via 
package managers, spack, and maybe candi) do not preserve the source files.

Best
  W.

-- 
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                            www: http://www.math.colostate.edu/~bangerth/

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/46e6dd20-e465-29f4-0d79-af3a31e504a4%40colostate.edu.

Reply via email to