A Systematic Approach to Debugging in the Blaise Environment: An - - PowerPoint PPT Presentation

a systematic approach to debugging in the blaise
SMART_READER_LITE
LIVE PREVIEW

A Systematic Approach to Debugging in the Blaise Environment: An - - PowerPoint PPT Presentation

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


slide-1
SLIDE 1

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

slide-2
SLIDE 2

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Standards to Minimize Debugging

  • Standardized Specifications
  • Standardized Programming

Conventions

2

slide-3
SLIDE 3

Survey Research Operations

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

3

slide-4
SLIDE 4

Survey Research Operations

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

4

slide-5
SLIDE 5

Survey Research Operations

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

5

slide-6
SLIDE 6

Survey Research Operations

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

6

slide-7
SLIDE 7

Survey Research Operations

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

7

slide-8
SLIDE 8

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Delta

8

iexml.xsl

slide-9
SLIDE 9

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Blaise XSD schemas

9

slide-10
SLIDE 10

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Manipula/Maniplus

10

slide-11
SLIDE 11

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Cameleon

11

slide-12
SLIDE 12

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Basil

12

slide-13
SLIDE 13

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Hospital

13

slide-14
SLIDE 14

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

DEP

14

slide-15
SLIDE 15

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

DEP Watch Window

15

slide-16
SLIDE 16

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Database Browser

16

slide-17
SLIDE 17

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Structure Browser

17

slide-18
SLIDE 18

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Blaise Data Centre

18

slide-19
SLIDE 19

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Blaise Data Centre

19

slide-20
SLIDE 20

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Menu Editor

20

slide-21
SLIDE 21

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Blaise Emulator

21

"C:\Program Files\StatNeth\Blaise 4.8 Enterprise\Bin\BtEmula.exe"

slide-22
SLIDE 22

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Control Center (DEP/Cati)

22

slide-23
SLIDE 23

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Control Center (DEP/Cati)

23

slide-24
SLIDE 24

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

CATI

24

slide-25
SLIDE 25

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Blaise IS

25

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

slide-26
SLIDE 26

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Modelib & Config

26

slide-27
SLIDE 27

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Additional Debugging Tools

  • Audit Trail
  • Alien Routers

& Procedures

27

  • 1. Define
  • 2. Run DLL
  • 3. Debug
slide-28
SLIDE 28

Survey Research Operations

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

28

slide-29
SLIDE 29

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Conclusion

  • Best Practices
  • Know your tools
  • Explore and learn

29

slide-30
SLIDE 30

Survey Research Operations

Survey Research Center ▪ Institute for Social Research

Questions

  • Contact info:

Peter Sparks zebulon@isr.umich.edu +1.734.647.6127

30

Survey Research Operations

Survey Research Center ▪ Institute for Social Research