MCPcopy Create free account
hub / github.com/BaseXdb/basex / debug

Method debug

basex-core/src/main/java/org/basex/util/Util.java:196–198  ·  view source on GitHub ↗

Prints the exception stack trace if the Prop#debug flag is set. @param throwable exception

(final Throwable throwable)

Source from the content-addressed store, hash-verified

194 * @param throwable exception
195 */
196 public static void debug(final Throwable throwable) {
197 if(Prop.debug && throwable != null) stack(throwable);
198 }
199
200 /**
201 * Prints a string to standard error if the {@link Prop#debug} flag is set.

Callers 15

parseContentTypeMethod · 0.95
closeHandlerMethod · 0.95
testSetNamespaceMethod · 0.95
testQueryMethod · 0.95
testQueryResourceMethod · 0.95
testCreateResourceMethod · 0.95
closeMethod · 0.95
BaseXHTTPMethod · 0.95
stopMethod · 0.95
clientNameMethod · 0.95
getAttributesMethod · 0.95

Calls 1

stackMethod · 0.95

Tested by 15

parseContentTypeMethod · 0.76
closeHandlerMethod · 0.76
testSetNamespaceMethod · 0.76
testQueryMethod · 0.76
testQueryResourceMethod · 0.76
testCreateResourceMethod · 0.76
closeMethod · 0.76
noMethod · 0.76
noMethod · 0.76
noMethod · 0.76
noMethod · 0.76