Jump to content
Macro Express Forums

how to debug?????


margaret

Recommended Posts

I have never used the debug features in Macro Express. Usually I just run the macro and try to figure out the problem myself. Now I'm having a weird problem but I don't seem to be able to use the debug features properly. I followed instructions in the book Macro Express Explained, but I still did not get anything in the debug window.

What's happening is that the macro is eliminating one character from some text. I don't know how this is happening. I have never seen this before. Anyway, what is the secret to debugging??? Why can't I see anything in the debug window?

Link to comment
Share on other sites

This is what I do:

1. Open the macro to debug in the Scripting Editor.

2. Click Debug, Debug Windows, Variable Values to display the Variables window.

3. Highlight the line in the macro where you want to test.

4. Press Ctrl+B to set a breakpoint

5. Click the run button (green arrow)

The macro will run up to the breakpoint. Note the values in the variables in the Variables window.

6. Press the F8 button to step on macro line at a time. Watch the variables change in the Variables window.

I hope this helps.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...