Debug logging needed
#1
Posted 01 May 2012 - 02:05 PM
#2
Posted 01 May 2012 - 02:11 PM
It's been in GameMaker for a long time - though I tend to find noone knows about it.
Russell
#3
Posted 01 May 2012 - 02:23 PM
show_debug_message???
It's been in GameMaker for a long time - though I tend to find noone knows about it.
Russell
Maybe because the messages are not directly visible in the main debugger window and we have to go to Tools > Show Messages.
In Flash when you do trace() then it shows the messages in the output window right away, maybe GM should do the same.
#4
Posted 01 May 2012 - 02:37 PM
Also if you open windows in the debugger then they will be reopened when the debugger restarts...
Russell
#5
Posted 01 May 2012 - 02:42 PM
Also if you open windows in the debugger then they will be reopened when the debugger restarts...
Ah, this one is very useful.
#6
Posted 01 May 2012 - 03:03 PM
show_debug_message???
It's been in GameMaker for a long time - though I tend to find noone knows about it.
That's exactly what I was looking for, thanks! I did finally find it in the help, but it was embedded in the general Debugging topic, not listed as a separate entry.
#7
Posted 25 May 2012 - 04:52 PM
They are output to the compile form which you should keep open - even in non-debug...
Also if you open windows in the debugger then they will be reopened when the debugger restarts...
Russell
I can't find the show_debug_messages anywhere. By saying "output to the compile form" I thought you meant the lower window in the IDE that shows the compile progress. However I see none of my show_debug_messages in there so I must be wrong. I guess I don't know what "the compile form" is.
EDIT: There is what looks like a white debugger window that opens in Chrome as the game is starting up. However, my game graphics completely cover that so I have no way of seeing it.
Edited by locohost, 25 May 2012 - 04:55 PM.
#8
Posted 25 May 2012 - 06:10 PM
Russell
#9
Posted 25 May 2012 - 06:46 PM
Ah! OK you are working in HTML5 in that case run in Debug and there is a scrolling text box underneath your game all the show_debug_message output should go to that.
Russell
Yeah I kinda figured. That's what my "Edit" is about. However, I have no way to see that underneath the game graphics so I'm still confused
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











