Sorry, I should have been specific that this is a normal method, it is part of iLB package. But nothing special about it. The database code runs without problem if run as compiled.
In iLB_Hook_Starup, a method used to run custom code to set values related to iLB and is nothing but comments, it goes into debug mode after the last line. I have tried removing the empty line of the method and the end of the last line, and then typed in what I deleted. It still goes into debug mode after running the method. In iLB_Hook_ObjectMethod it goes into debug mode on the line that has the command C_POINTER. I moved C_POINTER down a few lines and it went into debug mode on C_LONGINT. It makes me think there is something invisible in the Method that is triggering debug mode. I’ve cut the text, pasted into BBEdit, then copied from there and back into 4D and same problem. I can work around this problem by compiling and then running the app in compiled mode, but that is a bit clumsy. —Paul On Oct 5, 2021 at 3:00:01 PM, 4d_tech-requ...@lists.4d.com wrote: > Message: 1 > Date: Mon, 4 Oct 2021 14:16:22 -0700 > From: Kirk Brooks <lists.k...@gmail.com> > To: 4D iNug Technical <4d_tech@lists.4d.com> > Subject: Re: Where is the trace/debug command? > Message-ID: > <CAHY=Xku3M61W2n9Pi0SxpX_aK9GRoA9tSrLUfqswg=aqdwy...@mail.gmail.com> > Content-Type: text/plain; charset="UTF-8" > > It's probably not a trace but an error. What's iLB_Hook? Sounds like > something there. > > On Mon, Oct 4, 2021 at 10:59 AM Paul Chernoff via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > I am porting some 4D databases from v18.5 to v19.2. What is odd is that > > some iLB_Hook procedures are triggering tracing. But I look at the > > procedures and I do not see the Trace command nor the red circuit. And this > > never happened in version 18 or earlier. Is there now some invisible trace > > command? > > > ********************************************************************** 4D Internet Users Group (4D iNUG) New Forum: https://discuss.4D.com Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************