Re: call graph problems

Albert <[email protected]>
Newsgroups gmane.text.doxygen.general
Message-ID <CABOOx7ZH8nyjes7SJsVE9gHfLe57uLEcbwy5uRTLnZRZ1W34OA@mail.gmail.com>
Lorenz,

Which version of doxygen are you using?
What are your flags that are different from the default Doxyfile?

Using version 1.8.11 I see all graphs.

Note: why/what are the last 2 non-blank lines in your doxytest.cpp pasted
code.

Albert

On Fri, Dec 11, 2015 at 1:26 PM, Lorenz <[email protected]> wrote:

> Hi all,
>
> I have a problem with call graph generation in a Cpp project.
>
> I some cases calls to methodes of the same class are not reflected in
> the graph.
>
> In the example below, call(er) graphs for method1/2, method 5/6 and
> method7/8 are generated, but not for method3/4 and method9/10.
>
>
> I would like to provide the complete example (including doxyfile and
> the generated html), but I don't seem to be able to attach it to my
> message (at least not when posting via gmane.org).
>
> So here is at least the sample source code:
>
> ===== doxytest.h =====
>
> namespace doxytest
> {
>
>   //! test class for doxygen experiments
>   //
>   class doxytest1
>   {
>     public:
>       void method1 (void);
>       void method2 (void);
>       void method3 (void);
>       void method4 (void);
>       void method5 (void);
>       void method6 (void);
>       void method7 (void);
>       void method8 (void);
>       void method9 (void);
>       void method10 (void);
>   };
>
> } //namepspace
>
> ===== doxytest.cpp =====
>
> #include "doxytest.h"
>
> void doxytest::doxytest1::method1 (void)
> {
>   method2();
> }
>
> void doxytest::doxytest1::method2 (void)
> {
> }
>
> void doxytest::doxytest1::method3 (void)
> {
>   method4();
> }
>
> void doxytest::doxytest1::method4 (void)
> {
> }
>
> namespace doxytest
> {
>   void doxytest1::method5 (void)
>   {
>     method6();
>   }
>
>   void doxytest1::method6 (void)
>   {
>   }
> }
>
> void doxytest::doxytest1::method7 (void)
> {
>   method8();
> }
>
> void doxytest::doxytest1::method8 (void)
> {
> }
>
> void doxytest::doxytest1::method9 (void)
> {
>   method10();
> }
>
> void doxytest::doxytest1::method10 (void)
> {
> }
> namespace doxytest
> {
>
> ==========
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Doxygen-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/doxygen-users
>

------------------------------------------------------------------------------

_______________________________________________
Doxygen-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/doxygen-users
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.