Re: Debugger won't stop?



Steven Lord wrote:
>
>
>
> "Nick Koch" <nickkoch@xxxxxxxxxxxxxxxxxxx> wrote in message
> news:ef19372.-1@xxxxxxxxxxxxxxxxxxx
>> Every once in a while, my M-editor (debugger) won't stop when I
> tell
>> it to. This occurs only when I have multiple functions open
where
>> one funtion called a secondary function that is also open. If I
>> place a stop point in any currently selected window, the
debugger
>> actually will stop, but if I place a stop point in any window
> whose
>> tab is not selected, the stop point will be ignored.
>>
>> The work around I've been using is to insert a stop point in
the
>> window where the secondary function is called. The debugger
will
>> stop there. Then, I have to switch to the secondary window and
>> insert a stop point and select to continue run from that
window.
> If
>> I go back to the primary window and select run from there, the
> stop
>> point will again be ignored.
>>
>> So, why does the stop point have to be in the currently
selected
>> window for it to be recognized?? This only happens some of the
> time,
>> and it's driving me crazy!
>
> Do you have a CLEAR ALL statement anywhere inside the first
> function you
> call? If so, you should realize that statement will clear
> breakpoints:
>
> <http://www.mathworks.com/access/helpdesk/help/techdoc/ref/clear.html>
>
> --
> Steve Lord
> slord@xxxxxxxxxxxxx
>
>
>
Steve,

That's it! I do run a "clear all, close all, clc" before I run the
first script that calls the later functions. I commented that line
out and the debugger now stops in the later functions. Tricky! I'll
have to watch that because the breakpoints after the "clear all" in
the script currently viewed are actualy not cleared.

Thanks for solving a nagging issue!

Nick
.



Relevant Pages

  • Re: AppleWin Debugger & AppleWin Ports
    ... I found the single-screen debugger constraining at first ... do what I needed within the window. ... the command line/docs are a little too obtuse for it ... debugger and set a breakpoint at $300, switch back to the emulator and CALL ...
    (comp.emulators.apple2)
  • Re: Why JIT Debugger Doesnt Work on Particular Project?
    ... > debugger doesn't seem to be working. ... any error in this one particular project just pops-up the window ... > app's config file, but the only config files I see are those in the ... But even when I removed the reference, still no debug window. ...
    (microsoft.public.dotnet.general)
  • Re: API
    ... Use the Watch window or the Locals window. ... Every visual debugger I've ever used, ... and then set the terminating null character to complete the string. ...
    (microsoft.public.windowsce.app.development)
  • Re: NetBeans debugger: suspend and see current stack trace how?
    ... My answer was about NetBeans. ... is a window with all the extant threads visible in the debugger view. ... Not by default, although once you open the window in the debugger, it will show the Threads window again next time it is started, at least on the same project. ... Lew, you should have mentioned you were using a beta build, because it *is* different than the stable version. ...
    (comp.lang.java.programmer)
  • RE: VBScript debugger
    ... I understand that the debugger must be running to show the variables. ... cannot add anything to the watch window. ... > function/sub where that variable is used, to trace a function/sub use F8, or ...
    (microsoft.public.access.modulesdaovba)

Loading