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. Get two plants, and set both of them in two different locations. One plant should be put in a box with a light so it can grow. The other plant should be put in a dark box so it will not grow.

  2. Hey there! I know this is kinda off topic but I’d figured I’d ask. Would you be interested in exchanging links or maybe guest writing a blog post or vice-versa? My site covers a lot of the same topics as yours and I believe we could greatly benefit from each other. If you happen to be interested feel free to send me an e-mail. I look forward to hearing from you! Fantastic blog by the way!

  3. I’ve been reading your posts and have enjoyed them very much. Thanks for sharing your thoughts and hope to see more about this. Very useful for constructing my website.

  4. this post is very usefull thx!

  5. You are a very smart person!

  6. Amilia Traco says:

    I’d always want to be update on new posts on this website , saved to my bookmarks !

  7. You would not believe how long I’ve been looking for something like this. Browsed through 5 pages of Google results and couldnt find anything.

  8. ülkücü says:

    Hello man do you had news links ? I applaud clerical developing for me … ..

  9. Jules Sako says:

    Keep working ,splendid job!

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