[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== how to determine calling subroutine while in an MFS (OpenInsight 32-bit Specific) ==== === At 17 OCT 2008 12:18:49PM Sean Bartram wrote: === {{tag>"OpenInsight 32-bit Specific"}} While debugging in an MFS, I can look at the stack and determine what subroutine/event made the FS call - is there anyway to access the data in the stack from within the MFS itself? The goal is to capture what event/subroutine is making a specific change to a specific file in hopes of finding a bug that is wiping out data. ---- === At 17 OCT 2008 02:36PM psimonsen@srpcs.com's Paul Simonsen wrote: === Sean, Yes, Take a look at the results of the RetStack() function. It will show you the entire call stack as is shown in the debugger. Hope this helps, psimonsen@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions, Inc.[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] ---- === At 17 OCT 2008 02:49PM Sean Bartram wrote: === Yes, that works, thank you! [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=89AA869942DF082E852574E500599D0D|View this thread on the forum...]]