You are here: Home // ICT_Skills // Single-User Debug Mode in Baan

Single-User Debug Mode in Baan

We always have to debug some Baan programs in the live environment, even though we have test environment in place. This could be simply because no testing data, or could not reproduce the same error in test environment.

However, we do not want to disturb the normal users by popping up the black debugging window and asking them to click the continue button to resume their work. So how to minimize this disturbance?

Someone claims to first turn on the debug mode and turn off once you open the session; others may say to copy to different VRC. But none of them works perfectly as first solution can not grant no users open the session before you re-compile it; while the second one could again be no suitable data in the companies of that VRC.

Is there a way we could keep the debug objects for you only? The answer is yes.

We could modify the file fd6.1.<Your VRC> in the folder $BSE/lib. Generally speaking, just insert an entry in the “fd” file of the package combination of the user that will direct Baan to use objects from a specified test directory.

Here are the general proceduers (assuming we will debug sessions in tdsls):

  • Create a new directory for the objects to test, e.g., /tmp/otdsls. The final directory name (otdsls) must match the application subdirectory where the object would normally reside.
  • Load the object(s) to be tested into this new directory.
  • Determine the package combination of the test user.
  • Change directory to $BSE/lib
  • Open the file, fd6.1.<package combo>, in a text editor.
  • Search for line that begins with “otd”.
  • Copy this line and insert it before the original. (This file is read from top down, so an
  • Alternate path should be located before the original.)
  • Modify this line by adding the test user ID within “curley brackets” at the start of the line, e.g., {TestUser}otd:…..
  • Then insert the path to the test object(s) – less the application subdirectory, followed by the original application path, e.g., {TestUser}otd:/tmp:${BSE}/application/tdB40_c4…
  • The test user should now be able to execute sessions using the test objects.

Tags: , , ,

99 Responses to " Single-User Debug Mode in Baan "

  1. sextube says:

    Hello guys do you’r have new articles ? I appreciate article improve for my dad … ..

  2. Lyn Tracey says:

    This is an awesome site, I will be sure to add your site to my bookmarks

  3. Great post. I would very much to reiterate what the above have said. This is an excellent article and a must-read. Very useful for constructing my website thanks!

  4. I dugg some of you post as I thought they were extremely helpful very helpful

  5. Interesting views on the subject article – a superb subjective review

  6. Absolutely wanted to say how’s things and inform you that I have always been returning at this point for some time, often hanging out within the shadows and not really conversing my intellect. Well it’s time to pay up my personal esteem and notify your company, as a typical target audience that My spouse and i really appreciate ones own web pages and wish you keep on upon this particular spiritual quest of words and phrases. Hey there through me

  7. im not sure if your aware but this blog does not show properly in my web browser for some reason.

  8. Oralia Brous says:

    please sir check your rss feed it seems not working

  9. There is visibly a bunch to know about this. I believe you made certain nice points in features also.

  10. audigier says:

    Es dir die Wissenschaft.

Copyright © 2009 HAPPY RICKY. All rights reserved.
Designed by Theme Junkie. Powered by WordPress. Hosted by 3WBLOG.NET