Jump to content
Macro Express Forums
margaret

how to debug?????

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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×