Hi all, I can accros a probelem with the call stack functions. This only showed up in one of the tests. The basic problem was that it was assumed the stylesheets would not be have an extreme template call depth. As a result on the probelm a linked list structure needed to be adopted. There is now no limit on the depth of the call stack. And to minize memory wastage there are now two data structure that hold call stack related details. Refering the new breakpoint.h A linked list holds the template name and its url : see xslCallPointInfo This is modified by the function xslAddCallInfo A second list holds the call stack items : see xslCallPoint This is modfied by the function xslAddCall For convenience I've also added function xslGetCallStackTop Which as the name suggested gets the topmost call item from the stack I've also made the reliable the ability to stepout from the current "frame". This code probaly will require more pollishing at a later date. I think I best slow down the code reviews, and so I plan no new "code review parts" until late next week. bye Keith attatched : breakpoint.tar.gz
new breakpoint header and code