Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!leah!itsgw!steinmetz!uunet!sco!jamesm From: jamesm@sco.COM (James M. Moore) Newsgroups: comp.sys.mac.programmer Subject: LSC - how to find if the debugger is running? Message-ID: <1806@viscous.sco.COM> Date: 6 Mar 89 20:53:20 GMT Reply-To: jamesm@sco.COM (James M. Moore) Organization: The Santa Cruz Operation, Inc. Lines: 16 I'd like to be able to do somthing like this in LSC 3.0: if (DebuggerIsActive()) DebugStr("\pNow in Macsbugs"); ... at the beginning of my main() procedure. This would be useful during the debugging process, as I like to be able to go in and set breakpoints before my code starts executing. How do I tell if the debugger is running? -- ** James Moore ** ** Internet: jamesm@sco.com ** ** uucp: {decvax!microsoft | uunet | ucbvax!ucscc | amd}!sco!jamesm ** ** Nil clu no suim ar bith ag SCO ceard a bhfuil me ag scriobh anois. **