|
From: Zbynek W. <zw...@us...> - 2004-03-29 10:24:31
|
Marcus Baker wrote: >> I think "debug_backtrace" gives the needed information. It is >> available from version 4.3.0 up. It returns current stack information >> in an array. Each item also has a line number. In each "assert*" >> function the line number could be found just by looking up the stack. > > > I am looking at this problem at last. Great! > Do you want the line number of the actual assert type method in the > test case? Basically just a quick way of finding the failed assertion > amongst the test cases? I don't want to display an entire stack trace > as this kind of thing is better handled by XDebug. Just the single line number, not the entire stack trace. Thanks! Zbynek -- http://zw.matfyz.cz/ http://robotika.cz/ Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic |