Is there some sort of debugger??

I may have asked this before... Is there some sort of debugger for InsporPad that would show you what your code is doing, like which results it's generating and how it's doing so?

I am working on a generator for the GURPS Dungeon Fantasy 8: Treasure Tables and it's getting so big I'm having trouble keeping all of my proverbial ducks in a row. It seems to be working so far, but when I do run into a problem it takes forever to find it. I'm at 1844 lines of code so far and it's only about 3/5 done.

If there is not, how hard would it be to make? Would others find it useful?

Comments

  • No, there isnt a debugger. I dont know how difficult such a thing would be to make. IPP isnt a programming language, its more like a regular expression engine. There's no procedural lines to step through as you would with a debugger. Just a current state. So I'm not sure how a debugger could be implemented.
  • <sigh> Would be helpful, but I have no idea how to implement it either...
  • Well, next time I'm upgrading it I'll look at how some sort of debugging help can be implemented. Perhaps letting the user see the result of every substitution as they are made.
  • Sweet. Thanks Ed.

Leave a Comment