Survey Research Operations Survey Research Center Institute for Social Research A Systematic Approach to Debugging in the Blaise Environment: An Author's Perspective Peter Sparks The 12th International Blaise Conference Riga, Latvia June 2009 1
Standards to Minimize Debugging • Standardized Specifications • Standardized Programming Conventions Survey Research Operations 2 Survey Research Center ▪ Institute for Social Research
Write Easier-to-Debug Blaise Code • Create each section as a separate block and file • Comment headers • One Fields, Auxfields, Locals sections • "Forward" passing of assignments • Minimize overuse of procedures • Use fields for potential data items Survey Research Operations 3 Survey Research Center ▪ Institute for Social Research
Write Easier-to-Debug Blaise Code (continued) • Use auxfields for fills, some counts • Use locals for loop indices, or those items that always reevaluate • Define parameters on blocks as needed • Always .KEEP fields that are assigned • Create fills and other assignments as local as possible Survey Research Operations 4 Survey Research Center ▪ Institute for Social Research
Write Easier-to-Debug Blaise Code (continued) • Create internal checkpoints where used • Define ranges for everything • Create a type file/library • Use comments • Unique language fills Survey Research Operations 5 Survey Research Center ▪ Institute for Social Research
Know Your Work Environment • Delta • Blaise XSD schemas • Manipula/Maniplus • Cameleon • Basil • Hospital • DEP • Database Browser • Structure Browser Survey Research Operations 6 Survey Research Center ▪ Institute for Social Research
Know Your Work Environment (continued) • Blaise Data Centre • Menu Editor • Blaise Emulator • Control Center (DEP/Cati) • CATI • Blaise IS • Modelib • Configuration File Survey Research Operations 7 Survey Research Center ▪ Institute for Social Research
Delta iexml.xsl Survey Research Operations 8 Survey Research Center ▪ Institute for Social Research
Blaise XSD schemas Survey Research Operations 9 Survey Research Center ▪ Institute for Social Research
Manipula/Maniplus Survey Research Operations 10 Survey Research Center ▪ Institute for Social Research
Cameleon Survey Research Operations 11 Survey Research Center ▪ Institute for Social Research
Basil Survey Research Operations 12 Survey Research Center ▪ Institute for Social Research
Hospital Survey Research Operations 13 Survey Research Center ▪ Institute for Social Research
DEP Survey Research Operations 14 Survey Research Center ▪ Institute for Social Research
DEP Watch Window Survey Research Operations 15 Survey Research Center ▪ Institute for Social Research
Database Browser Survey Research Operations 16 Survey Research Center ▪ Institute for Social Research
Structure Browser Survey Research Operations 17 Survey Research Center ▪ Institute for Social Research
Blaise Data Centre Survey Research Operations 18 Survey Research Center ▪ Institute for Social Research
Blaise Data Centre Survey Research Operations 19 Survey Research Center ▪ Institute for Social Research
Menu Editor Survey Research Operations 20 Survey Research Center ▪ Institute for Social Research
Blaise Emulator "C:\Program Files\StatNeth\Blaise 4.8 Enterprise\Bin\BtEmula.exe" Survey Research Operations 21 Survey Research Center ▪ Institute for Social Research
Control Center (DEP/Cati) Survey Research Operations 22 Survey Research Center ▪ Institute for Social Research
Control Center (DEP/Cati) Survey Research Operations 23 Survey Research Center ▪ Institute for Social Research
CATI Survey Research Operations 24 Survey Research Center ▪ Institute for Social Research
Blaise IS Survey Research Operations Survey Research Operations 25 Survey Research Center ▪ Institute for Social Research Survey Research Center ▪ Institute for Social Research
Modelib & Config Survey Research Operations 26 Survey Research Center ▪ Institute for Social Research
Additional Debugging Tools 1. Define • Audit Trail • Alien Routers & Procedures 2. Run DLL 3. Debug Survey Research Operations 27 Survey Research Center ▪ Institute for Social Research
Creating New Tools • First see if existing tools can be used • Extend existing tools • Get clear requirements & specifications, timeline, and so forth • Use industry standard programming practices • Suggested Custom Utilities Survey Research Operations 28 Survey Research Center ▪ Institute for Social Research
Conclusion • Best Practices • Know your tools • Explore and learn Survey Research Operations 29 Survey Research Center ▪ Institute for Social Research
Questions • Contact info: Peter Sparks zebulon@isr.umich.edu +1.734.647.6127 Survey Research Operations Survey Research Operations 30 Survey Research Center ▪ Institute for Social Research Survey Research Center ▪ Institute for Social Research
Recommend
More recommend