NPRao
27th November 2001, 05:46
Hi,

I am trying to compile a script in debugger mode. But the session still comes up with the compiled object and not in debugger.

Any clues!

MariaC
27th November 2001, 08:45
Have you checked that there aren't people working with the session you're compiling? Are maybe it's a permissions problem, check your object and see that the date and time is changing

mark_h
27th November 2001, 15:47
You may also want to check your processes and make sure that you do not have a version of the object already open. You can use the option dialog, start shell and then do a ps. If you see the session running you will need to kill it.

Good Luck!

steveauckly
27th November 2001, 18:23
Your object may be in shared memory. If it is, take it out, log out of Baan, then log back in.

Han Brinkman
27th November 2001, 20:57
You can specify a -nodebug option to prevent your users getting objects in debug mode.

Stephen Ruger
28th November 2001, 00:26
Han

What will that do? Will it block an object from coming in if it has accidentally been left in debug mode and create an error? Or will the object work OK?

Stephen Ruger

vishbaan
28th November 2001, 07:49
hi,

I think you are getting the old object from memory.

a quick solution without loggin-off or no need to initialise shm:

modify some information in session header "Maintain Sessions" like date / user name and save it.

This way the session header becomes refreshed and it will fetch the latest object (ur object compilied with debugger).

Hope it helps.. good luck

Vish

Han Brinkman
28th November 2001, 09:12
Steve,

It will let the user run the object without showing him the debug version, the only thing he/she perhaps will notice is that it runs a little slower.

Kind regards,
Han