veerle
1st February 2005, 15:14
Hello,

I have a complex session which used a lot of dll-functions and reports. I think there's a dll-call that will be executed more than once, but it's not clear from where the dll-function is started. Is it possible to set up a kind of trace so i can see the flow of the executed code?

Bye, Veerle

en@frrom
1st February 2005, 16:10
You can set several, simple as well as detailed/complexed traces, but the easiest way to check if the dll is called twice, is to just compile the dll in debug mode, and run the session/process. If the dll will be called twice throughout the different scripts/functions etc, it will pop-up in debug mode twice...

Hope this helps.

Good luck!!

En

NPRao
1st February 2005, 21:53
Veerle,

Alternatively, use PTT (Performance Trace Tools) and compile the scripts in Profiler Mode.

I noticed you are on the 5.2/Reger Version, so check with BaaN/SSA support for compatibility/support versions.

Dikkie Dik
3rd February 2005, 16:32
The Call Graph Profiler is more recent than PTT. Please read chapter 2 of my Performance Tracing and Tuning Guide (http://www.baanboard.com/baanboard/showthread.php?t=7665). This output of the CGP will show you where the calls from a DLL has been made from.

Hope this helps,
Dick