> 
>  |Now to my question: where is the code in the src-tree which is
>  |responsible for loading new net/macro in vpe? (I want to put some
>  |write-statements in and first want to look what is happening there.
>  |Please bear with me that I'm not fluent in C let alone c++).
> 
> src/uipp/dxuilib/Network.C::readNetwork(),
> 
> This starts it off.  After some prep work, it jumps off into the yacc
> parser (yyparse()) and then bounces back in at various places to handle the
> grammatical constructs.
> 
Well what I found so far is that the output of "printf" and
"fprintf(stderr," do not appear in the shell (or dx-message) window
(what is the best debug print technique?). However using
"WarningMessage" I could trace some of the program flow. It seems that
everything is ok there (opening, reading the .net and .cfg files). Also
a test with "g++ -O1" for the files in src/uipp/dxuilib/ did not produce
a different result (an indication that the compiler is not the problem
here?).

What happens when I read a net the first time is (trace log):
 0:  worker here [27046]
 0:  Planning [41f665d0] 1::/Executive:0
 0:  graph 1 completed
 0:  Planning [41f66d90] 2::/Trace:0
 0:  graph 2 completed
 0:  Planning [41f67550] 3::/Executive:0
 0:  graph 3 completed
 0:  Planning [41f67d10] 4::/Executive:0
 0:  graph 4 completed
 0:  Planning [41f743c0] 61::/main:0/Selector:1
 0:  Selector_1:  string list={"velocity" "p" "te" "ed" } value
list={"velocity" "p" "te" "ed" } index=0
 0:  Planning [41f74480] 61::/main:0/Import:4
 0:  Planning [41f74540] 61::/main:0/MapToPlane:1
 0:  Planning [41f74600] 61::/main:0/ClipPlane:1

etc etc until an image.

When I then open an existing (the same) net I see:

 0:  Planning [41f69da0] 62::/Executive:0
 0:  graph 62 completed

repeated 17 times (thus no "Planning [41f77000] 61::/main:0/"-lines)...
then an empty canvas shows up. I guess that 14 of them are the result of
cleaning up/deleting pieces. The difference then lies after "step 79":

 0:  Planning [45059ed0] 76::/Executive:0
 0:  graph 76 completed
 0:  Planning [426f5430] 77::/Trace:0
 0:  graph 77 completed
 0:  Planning [452d1810] 78::/Executive:0
 0:  graph 78 completed
 0:  Planning [452e0910] 79::/Executive:0
 0:  graph 79 completed
 0:  cleaning up and exiting (hk> after an emty page just quit the vpe)

thus a step like is missing (again after the same net has been
"reopened")

 0:  Planning [41f743c0] 61::/main:0/Selector:1

Who (subroutine) should be doing this?

Thanks in advance for your help
Henk
-- 

 ########/  \##                               Cyclone Fluid Dynamics BV
 #######/ /\ \# Big whirls have little whirls Henk Krus
 ######/ /##\__ That feed on their velocity;  De Neerheide 12 d
 _ \##/ /###### And little whirls have        NL-5581 TP Waalre
 #\ \/ /#######         smaller whirls        Tel.:+31-40-22 30 491
 ##\  /######## And so on to viscosity.       Fax.:+31-40-22 30 490
 C Y C L O N E                                Email: [EMAIL PROTECTED]
 FLUID DYNAMICS       L.F. Richardson (1926)  http://www.cyclone.nl

Reply via email to