Open Source Console w/ Variable Watching
BlitzMax Forums/BlitzMax Programming/Open Source Console w/ Variable Watching
| ||
Since no one seems to be reading the OpenConsole thread, I thought I might post my contribution here Its a console with debug variable watching / changing. (I'm sure there could be some improvement here) It is very easy to add commands, and should be easy to extend/change for use in your application. If you make any improvements why not post them here? Example program: debug.bmx: Manages the console and debug variables console.bmx: Hope this is useful to someone! |
| ||
This might be intresting :) I remeber that back on Borland c++ 3.1 there was a watch sistem that I really used |
| ||
I should point out that you should be able to select a variable to watch from almost any scope. So you could even monitor a Local variable of your custom Types Method. I can't remember how many times I needed to know the value of a variable at runtime and created a bunch of temporary code just for that. Having to remove it later. This has become invaluable to me, and squashing bugs or tweaking settings has become much quicker now. I only wish there were a way to watch strings in the same way. |
| ||
This is great! Thanks a lot, I was thinking of writing something similar myself and you saved me a lot of work! |