found a bug assertion (alloc should be a jq_Class in ConstraintManager), add printout info for dbg