Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Custom Watch Script Pluggins
Game_Ender:
Currently the debbugger has the ability to automatically detect things such as wxStrings and produce cleaner watch output. I think it would be greate to be able to add support for more custom watches through angel scripts. The script define would the value necessary to determine that the variable we are watching is indeed of the right of type, then it could just supply a watch script. When the debugger starts up it could run each script to register each custom variable type, and then call the script when ever the variable is seen to get the proper watch commands with which to display the variable.
mandrav:
Very nice idea, indeed. Thanks :)
Game_Ender:
If you need any help on this feature just let me know, I think something like this is vital to easy of use. It will turn that sometimes obscure tree into something very usefull. I would love to be able to write custom watches for all the key classes in my applications. That would make debugging quite easy.
mandrav:
--- Quote from: Game_Ender on January 23, 2006, 06:45:25 pm ---If you need any help on this feature just let me know, I think something like this is vital to easy of use. It will turn that sometimes obscure tree into something very usefull. I would love to be able to write custom watches for all the key classes in my applications. That would make debugging quite easy.
--- End quote ---
No kidding, I loved the idea :lol: (besides, I really want to put scripting into wide use).
I already moved wxString type recognition and parsing into its own script and will now implement the binding.
280Z28:
std::map<> and other STL enumerations automatically in the debugger is only available in Visual Studio 2005 right now. If we get that in a script it's another push for Code::Blocks as a first class IDE.
Navigation
[0] Message Index
[#] Next page
Go to full version