Re: Termination due to error as " Abnormal termination, caused by mdrv process termination&
Those steps are unlikely to help you, though. This isn't the script being aborted, this is the loadrunner agent that runs the user being shot down due to some kind of internal error.
The most common cause of this sort of problem is memory corruption inside the script, either due to a bug in the scripting code, or a bug in loadrunner itself. The former is more likely, but the latter is not impossible. It is however impossible to know which it is.
One thing you can do is to set the "run virtual user as a process" option in the runtime settings. If it's set to "run as a thread", then a process termination like you experienced will end up terminating 50 virtual users at once, due to the way the threads are distributed across processes. That will not make debugging easier, and may hide errors you would otherwise see.
--- Discover the y-lib loadrunner support library: https://github.com/randakar/y-lib