Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Logging / Debugging > Output of Types & Arrays

Author
Message
bembulak
User Offline
Joined: 5th Mar 2022
Location:
Posted: 7th Apr 2022 13:58 Edited at: 7th Apr 2022 16:51
Hi all,

currently I'm struggling with debugging. I do have a 2-dimensional array (4 by 4 grid). Each point (X|Y) in that array is user-defined type.
If find it quite hard to debug.

Just printing the array is not possible. To have a proper visual representation, I'd have to implement my own function (which leads to knowing the number of dimensions of the array and deal with screen size at the same time). I also tried to use the breakpoints and the debugger. But to be honest, I couldn't get it to work. When using debugging, the IDEs want me to broadcast/connect to a device.

Are there any hints or docs for this?

Thank you!

Edit: Found out about https://www.appgamekit.com/documentation/Reference/Error/Log.htm - but that is not exactly what I have in mind.

Keywords: Arrays, Debugging, Logging, Types.
Cheers,

> not a native speaker | AppGameKit Classic T1+T2 | AppGameKit Studio T1 + T2
jd_zoo
4
Years of Service
User Offline
Joined: 12th May 2018
Location: Nova Scotia
Posted: 11th Apr 2022 01:48
Not sure if you got this yet already, but yeah I have had to use log to catch things like that before. Visualizing the patterns in Excel can be the game changer.

I did find gaps in the data, possible that slowing down the FPS when running Log & Debug might help.
Check out Automation on Steam now
https://store.steampowered.com/app/1698690/Automation/

Login to post a reply

Server time is: 2022-08-18 12:25:38
Your offset time is: 2022-08-18 12:25:38