Share via

Access debugging question

Anonymous
2012-11-29T21:40:34+00:00

Hi,

I am having some trouble with my debugging mode in Access.  I used to be able to debug fine (setting break points, stepping through code, etc.), but now when I do that I can never seem to recover to a normal state.  Even if I successfully step all the way through some code on a form, my form never regains focus.  Instead the debugger dumps me out of whatever piece of code I am testing into some weird state where the form that I am working on, and which was previously in Form View mode, is now in some kind of quazi-design view mode.  I can't even seem to access it.  If I click on the form, I just get a beep.  Also, the database window has been brought to the front, so that my form is behind it.

Particularly puzzling because, as I said, I think just a few weeks ago it was working fine.  Maybe I unknowingly tweaked a debugging setting somewhere?

Any insights/suggestions?

Thanks!

Emily

Microsoft 365 and Office | Access | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

4 answers

Sort by: Most helpful
  1. Anonymous
    2012-11-29T22:16:04+00:00

    I have.  In fact, usually once I've stepped through whatever particular part of the code I'm interested in investigating, I just hit F5 to continue through the code.  But thanks again!

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2012-11-29T22:07:57+00:00

    When you are done with stepping through the code, try hitting F5.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2012-11-29T21:57:25+00:00

    I just verified that "break on unhandled errors" is in fact the selection there.

    Although, just to make sure I'm making this clear, in some of these pieces of code I am 100 percent sure that there are no errors.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2012-11-29T21:49:04+00:00

    Maybe go to the VBA Window, to TOOLS > OPTIONS and in the GENERAL tab make sure that BREAK ON UNHANDLED ERRORS is the one selected.

    Was this answer helpful?

    0 comments No comments