There is a new feature in Notes/Domino 8.5.3 that tracks LotusScript call stacks as they execute on the client or server, and allows NSD to dump the recorded stacks.
1. Place the following entry in your notes.ini:
DEBUG_LS_DUMP=1
2. Restart the Lotus Domino server or Notes client.
When enabled, an NSD dump will include a LotusScript Interpreter section like the following, which shows a stack trace for all LotusScript that was running at the time NSD was called, for all threads in all Notes/Domino processes.