Commit c3fc3ea
committed
Replace compile-time debug flag with runtime HDF5_DEBUG=PL
Remove H5PL_DEBUG_KEYSTORE compile-time flag and use HDF5's standard
runtime debug infrastructure instead. Plugin debug output can now be
enabled at runtime with:
export HDF5_DEBUG=PL
Changes:
- Add H5_PKG_PL to debug package enum in H5private.h
- Register "pl" package name in H5.c initialization
- Update H5PL_SIG_DEBUG_PRINT to check H5DEBUG(PL) at runtime
- Remove H5PL_DEBUG_KEYSTORE option from CMakeLists.txt
- Remove conditional compilation around debug output
- Update documentation to use HDF5_DEBUG=PL
- Update error messages to suggest runtime debug flag
This makes plugin debugging more accessible without requiring
recompilation.1 parent dfc01a2 commit c3fc3ea
6 files changed
Lines changed: 12 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
806 | | - | |
807 | | - | |
808 | | - | |
809 | 806 | | |
810 | 807 | | |
811 | 808 | | |
| |||
940 | 937 | | |
941 | 938 | | |
942 | 939 | | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | 940 | | |
950 | 941 | | |
951 | 942 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1108 | 1108 | | |
1109 | 1109 | | |
1110 | 1110 | | |
1111 | | - | |
| 1111 | + | |
| 1112 | + | |
1112 | 1113 | | |
1113 | 1114 | | |
1114 | 1115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
209 | 209 | | |
210 | 210 | | |
211 | 211 | | |
| 212 | + | |
212 | 213 | | |
213 | 214 | | |
214 | 215 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
136 | 137 | | |
137 | 138 | | |
138 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
974 | | - | |
975 | | - | |
976 | 974 | | |
977 | 975 | | |
978 | 976 | | |
| |||
983 | 981 | | |
984 | 982 | | |
985 | 983 | | |
986 | | - | |
987 | 984 | | |
988 | 985 | | |
989 | 986 | | |
| |||
1610 | 1607 | | |
1611 | 1608 | | |
1612 | 1609 | | |
1613 | | - | |
| 1610 | + | |
1614 | 1611 | | |
1615 | 1612 | | |
1616 | 1613 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
984 | 984 | | |
985 | 985 | | |
986 | 986 | | |
| 987 | + | |
987 | 988 | | |
988 | 989 | | |
989 | 990 | | |
| |||
0 commit comments