diff --git a/src/frontend/breakp.c b/src/frontend/breakp.c index 86acbfd4b..a7b1bc398 100644 --- a/src/frontend/breakp.c +++ b/src/frontend/breakp.c @@ -475,10 +475,14 @@ satisfied(struct dbcomm *d, struct plot *plot) fprintf(cp_err, "Error: %s: no such node\n", d->db_nodename1); return (FALSE); } + if (v1->v_length == 0) + return (FALSE); + if (isreal(v1)) d1 = v1->v_realdata[v1->v_length - 1]; else d1 = realpart((v1->v_compdata[v1->v_length - 1])); + } else { d1 = d->db_value1; }