HP 800 ACSE/Presentation and ROSE Interface Programmer's Guide - Page 7

Troubleshooting Your Application

Page 7 highlights

Contents Execution Mode 58 Connection Retry 60 Resource Constraints 60 System Maximums 61 6. Other Tasks 62 File Descriptors 62 Signal Handlers 62 Error Checking Routines 63 Error-handling in Multi-Threaded Applications 63 7. Before Running ACSE/Presentation Applications 64 Multi-threaded ACSE/Presentation Example 64 ACSE/Presentation Example 65 Program using ROSE 66 5. Troubleshooting Your Application Using A/P API Tracing 68 A/P API Tracing Using Environmental Variables 68 Tracing Using Global Variables 70 Selecting Types of Tracing 70 Enable A/P API Tracing Using Global Variables 71 Trace Output 72 Tracing in Multi-threaded Applications 73 Using ROSE API Tracing 75 Environment Variable Names 75 Tracing Using Global Variables 76 Selecting Types of Tracing 76 Enable ROSE API Tracing 77 Trace Output 78 Tracing in Multi-threaded Applications 79 7

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

Contents
7
Execution Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .58
Connection Retry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
Resource Constraints . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
System Maximums. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .61
6. Other Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
File Descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Signal Handlers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
Error Checking Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .63
Error-handling in Multi-Threaded Applications . . . . . . . . . . . . . . . . .63
7. Before Running ACSE/Presentation Applications. . . . . . . . . . . . . . . .64
Multi-threaded ACSE/Presentation Example . . . . . . . . . . . . . . . . . . .64
ACSE/Presentation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Program using ROSE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .66
5.
Troubleshooting Your Application
Using A/P API Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .68
A/P API Tracing Using Environmental Variables . . . . . . . . . . . . . . . .68
Tracing Using Global Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Selecting Types of Tracing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
Enable A/P API Tracing Using Global Variables . . . . . . . . . . . . . . . . .71
Trace Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
Tracing in Multi-threaded Applications . . . . . . . . . . . . . . . . . . . . . . . .73
Using ROSE API Tracing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
Environment Variable Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .75
Tracing Using Global Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Selecting Types of Tracing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
Enable ROSE API Tracing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .77
Trace Output. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
Tracing in Multi-threaded Applications . . . . . . . . . . . . . . . . . . . . . . . .79