help wfdo_help: Asking for help debugging do-files

Before you ask for help, try these things

Step 1: Try all of the suggestions for debugging do-files
discused here: wfdo_debug.

Step 2: Read the manual for the commands related to your error.

Step 3: Make sure that your copy of Stata and user written
programs are up to date (see update and adoupdate).

Step 4: Write a brief description of the problem and what
you have done to resolve it.

Step 5: Create a do-file that generates the error
using a small dataset. Do not send a huge dataset as an attachment.
Make the do-file self-contained (e.g., it loads the dataset) and transportable
(e.g., it does not hard code the data directory).

Step 6: Send the do-file, the log file in text format, and
the dataset along the description of what you have done to
the person you are asking for help.

Also see

WF-do-files; Workflow