gget79
10th June 2008, 23:40
Hi BaanFriends:

I am working with baan Vc.

I am reviewing a problem with the cppat1210m000 session, but this use a lot dlls, Is there any way for I Know what dll are taking the program flow without I have to put on debbugger mode all dlls.

Any ideas?????

george7a
11th June 2008, 09:17
Hi,

As I know if you compile + debug the main script only, the error that you get, should include the function name that generated the error.

I hope it helps,

- George

mark_h
11th June 2008, 18:53
What I do is usually compile the main program in debug like George recommends. I then trace through the program - if I am looking for a data error I try to find where the error might come from first. So if it calls a DLL I let it call the DLL - if I then see the corrupt or bad data I know which DLL caused the problem. I work thru each DLL Like that - and trust me some DLL's call DLL's which call DLL's where you might find the problem. It is not easy. But as I move down a level I only put in debug the place I think the error is.

NPRao
13th June 2008, 20:42
I am reviewing a problem with the cppat1210m000 session, but this use a lot dlls, Is there any way for I Know what dll are taking the program flow without I have to put on debbugger mode all dlls.
You can use the Bshell debugging BW commands:

-- -dbgflow -keeplog -logfile prgflow.log
Sample output:
>pg prgflow.log
B:0000000:::(00001):Flow: -->> (depth 01): __initialize_object() (object ottstpoledaemon)
B:0000001:::(00001):Flow: -->> (depth 02): __initialize.process() (object ottstp_stddll)
B:0000002:::(00001):Flow: -->> (depth 03): tiv.initialize() (object ottstp_stddll)

The other option -dbgfile will give a much simpler output:

F:0002478:::(00003):open /app/lms/lmss/opt/bse/tools/tt7.6_a/ottadv/oadv6265
F:0002479:::(00003):open /app/lms/lmss/opt/bse/tools/tt7.6_a/ottadv/oadv6265
F:0002480:::(00012):open /app/lms/lmss/opt/bse/tools/tt7.6_a/ottadv/oadv6265
F:0002481:::(00012):open /app/lms/lmss/opt/bse/tools/tt7.6_a/ottadv/oadv6265
F:0002482:::(00012):open /app/lms/lmss/opt/bse/tools/tt7.6_a/ottadv/oadv6265
F:0002483:::(00012):open /app/lms/lmss/opt/bse/tools/tt7.6_a/ottdll/odllgeneral
F:0002484:::(00012):open /app/lms/lmss/opt/bse/tools/dd/dttadv/dttadv000
F:0002485:::(00012):open /app/lms/lmss/opt/bse/tools/tt7.6_a/fttadv0/fadv6265m000d0
F:0002486:::(00012):open /app/lms/lmss/opt/bse/tools/tt7.6_a/fttadv0/fadv6265m000d0
F:0002487:::(00012):open /app/lms/lmss/opt/bse/tools/tt7.6_a/ottadv/oadv6265

gget79
13th June 2008, 20:50
Thank you very much NPRao, your answer was the one that worked for me.


Sincerely,