I'd agree with Sue, restructure your code to do what she mentioned and then
see if you still have those debugging problems.

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

"Mark VII" <MarkVII@discussions.microsoft.com> wrote in message
news:F8D95549-2CF2-418E-B71F-021FE0D2731A@microsoft.com...
> Hi Ken --
>
> One thing I'd already tried was to have a rule that invokes a sub, and the
> sub calles the procedure that does the actual processing. Neither F5 for
> breakpoint nor Stop statements worked there.
>
> FWIW, I started with the processing logic in the sub invoked by the rule,
> same results.
>
> Interestingly, if I invoke the sub that does the actual processing from
> the
> Immediate Window, breakpoints work like they should.
>
> One thing I didn't mention is that I had been kicking off my rule from the
> "run rules now" part of the Rules and Alerts dialog. Wonder if that's
> making
> a difference, because there a dialog open.
>
> Any thoughts in light of that?
>
> Thanks,
> Mark
09 Apr 2008looping through inbox messages / debugger under Outlook VBA.Mark VII
09 Apr 2008|- Re: looping through inbox messages / debugger under Outlook VBA.Ken Slovak - [MVP - O...
09 Apr 2008|  \ Re: looping through inbox messages / debugger under Outlook VBA.Mark VII
10 Apr 2008|     \ Re: looping through inbox messages / debugger under Outlook VBA.Ken Slovak - [MVP - O...
09 Apr 2008\ Re: looping through inbox messages / debugger under Outlook VBA.Sue Mosher [MVP-Outlook]
10 Apr 2008   \ Re: looping through inbox messages / debugger under Outlook VBA.Mark VII
10 Apr 2008      \ Re: looping through inbox messages / debugger under Outlook VBA.Sue Mosher [MVP-Outlook]
10 Apr 2008         \ Re: looping through inbox messages / debugger under Outlook VBA.Mark VII
All times are in (US) Eastern Daylight Time (GMT -4:00)