Re: [Gambas-user] Flow graphs

2014-12-31 Thread Fabien Bodard
It look like to my old uml dream. Understand a program structure and then see the calling stream. (Who call what and how many time... Thank to the tool now existing for that part) Le 31 déc. 2014 19:35, "Jussi Lahtinen" a écrit : > > Not really. What exactly do you want to achieve? What for? > >

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
> Not really. What exactly do you want to achieve? What for? > I try to make a call/flow graph of program to ease the understanding of the code someone else have written (and to help detect and correct bad program structure [design]). Jussi --

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Benoît Minisini
Le 31/12/2014 18:19, Jussi Lahtinen a écrit : >> I don't think it's a good idea to rely on undocumented compiler >> debugging features. :-) >> >> And what about event handlers and method calls that are entirely solved >> at runtime. How can you make a graph from that? >> > > No idea... thanks for s

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
> I don't think it's a good idea to rely on undocumented compiler > debugging features. :-) > > And what about event handlers and method calls that are entirely solved > at runtime. How can you make a graph from that? > No idea... thanks for saving my time. Better ideas? Jussi --

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Benoît Minisini
Le 31/12/2014 17:29, Jussi Lahtinen a écrit : > Hmmm... maybe not so trivial task. > I wonder if there is method to distinguish native function calls (without > listing them all). Also there aren't always just "PUSH FUNCTION", but also > "PUSH UNKNOWN" which may refer to variable or to function. >

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
Hmmm... maybe not so trivial task. I wonder if there is method to distinguish native function calls (without listing them all). Also there aren't always just "PUSH FUNCTION", but also "PUSH UNKNOWN" which may refer to variable or to function. What x presents in "CALL (x)" ? Jussi On Wed, Dec 31

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
Thanks! I will look this. Jussi On Wed, Dec 31, 2014 at 4:37 PM, Tobias Boege wrote: > On Wed, 31 Dec 2014, Jussi Lahtinen wrote: > > Any tools or suggestions how to make easily call/flow graph from Gambas > > project? > > > > I thought about this a few days ago :-) I would imagine, given a pa

Re: [Gambas-user] Flow graphs

2014-12-31 Thread Tobias Boege
On Wed, 31 Dec 2014, Jussi Lahtinen wrote: > Any tools or suggestions how to make easily call/flow graph from Gambas > project? > I thought about this a few days ago :-) I would imagine, given a path sPath to a project directory, you can do Exec ["gbc3" "-av", sPath] To sOutput then parse sOu

[Gambas-user] Flow graphs

2014-12-31 Thread Jussi Lahtinen
Any tools or suggestions how to make easily call/flow graph from Gambas project? Jussi -- Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot