WeBWorK Main Forum

Favorite debugging techniques

Re: Favorite debugging techniques

by Alex Jordan -
Number of replies: 0
I'll assume you are talking about debugging a PG problem (as opposed to something with the webwork2 engine or the pg engine).

This helps a lot:

In your example, I don't know what kind of thing $graph is, or what GR_isHamiltonianCircuit_graph_vertices is, but

\{pp( $graph ) \}
\{pp( GR_isHamiltonianCircuit_graph_vertices( $graph, ) ) \}

might be revealing.