Sure, no reason not to. Next time I need to update, it will be included. Or if someone has a need for it and asks me to update it.dx876234 wrote:Very nice debug option, will it make it into the std fastlogin?
-dx
The way it works is you press the tild key and it pops open. works in both login and character selection page. Just today I made it one console instead of one for each. I might even be able to use it ingame maybe with a macro to pop it open.
Things still to do.
- - Improve the custom print function to print tables and comma separated values. I'll probably call it 'pr'. I might make it a general purpose print that prints to the DEFAULT_CHAT_FRAME if it exists otherwise it prints to the console. That way you could add prints during login and then pop the console up to see the results. And you could use it in game as a fast way to print variables and tables. Trying to figure out whether to print to console or chat is proving a bit tricky. The logic may have to be "if the chat box exists and the console is closed then print to chat, otherwise print to console." That means if you do a 'pr' print in chat while the console is open then the output will go to the console. Can't see a way around it yet. GetKeyboardFocus() didn't work.
- Try and get a scroll bar working so you can scroll back through the results. That looks a bit tricky though.