Yes, but I don't "know" which line to put it on. I don't want to have to trawl through the code manually counting my tests to find which one the test fails after.
I was disappointed to find that you can't have a conditional watch, actually (e.g. watch for when $var == 3).
To watch for a variable reaching a certain value, you need
w (3 == var)or just
w var == 3In reply to Re^2: Get the number of the current test when debugging a test script
by Dumu
in thread Get the number of the current test when debugging a test script
by Dumu
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |