To open multiple containers for a multi-task process, I use the Xojo.Core.Timer.CallLater(0, theMethod) so that I don’t mix up the threading that I now seem to have working. However, in trying to debug the code to create and embed the new container instance, it seems that breakpoints in the method are ignored by the debugger run if the method is called by the timer. If I call the method directly, the break point is honored.
No issue here reimplementing Christian’s example. Breakpoint is on MsgBox("Test").
I have had issues sometimes when setting a breakpoint after the app is already running. Could that be your issue?
[quote=377379:@Tim Parnell]No issue here reimplementing Christian’s example. Breakpoint is on MsgBox("Test").
I have had issues sometimes when setting a breakpoint after the app is already running. Could that be your issue?[/quote]
Not in this case. I entered Christian’s code, set the breakpoint on the MsgBox line, and ran the project.
I added a direct call to the “test” method and the same breakpoint is honored.