[Prev][Next][Index]

Re: debugging problem




> The other question is that , is there an easy way to refer to the original
> statement id? As you know, the id() changes after restructuring.
                                                    ^^^^^^^^^^^^^

The ID changes after saving the output to a dep file
(SgFile::saveDepFile()). Unless it is impossible to delay the saving
until the last thing your program does, I would just do that.

If this is not the problem you were referring to, please explain
again, maybe with an example so we can see what is going on. The
statement IDs should not change at any other point.

/Andrew/