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 / Debugger stopped working // Run command works fine

Author
Message
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 15th Feb 2019 21:09 Edited at: 15th Feb 2019 21:13
My debugger mode just quit working on my project. Not sure what to do. It just sits on the screen - I have deleted all break points, so its not on a break point. The window also seems to have gotten really distorted for some reason. It runs normal when ran in Run Build mode.



Where is the debugger hidden folder at? I know in the past I have picked stuff up in debugger mode that normal run mode does not pick up.

Any help? Thanks.

Attachments

Login to view attachments
puzzler2018
User Banned
Posted: 15th Feb 2019 21:11 Edited at: 15th Feb 2019 21:12
Thats an odd one.

Please send a screen shot ( you have Good Man LOL) - do you have any heavy processes running in the background

Please save what you doing and reboot your system and try again
Tier 1 Developer
puzzler2018
User Banned
Posted: 15th Feb 2019 21:16
We cannot be having you stopped working Golelorn - Any ideas folks other than a reboot


Tier 1 Developer
puzzler2018
User Banned
Posted: 15th Feb 2019 21:19
I dont want to you show your full app

So

Create a new project and broadcast it - i assume that pic is on a broadcast

Does that work
Yes - then its your current app your working with
No - then its the IDE


Tier 1 Developer
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 15th Feb 2019 21:25 Edited at: 15th Feb 2019 21:25
For some reason the following is causing an infinite loop in debug mode. Its been there for months and months...

puzzler2018
User Banned
Posted: 15th Feb 2019 21:28 Edited at: 15th Feb 2019 21:30
There she blows - why put anything like that in your apps for.

You got nothing to make getdevicewidth go above getdevicehieght

Unless your testing different phones and / or tablets resolutions

Remove that code to get you working.

Whats your ultimate goal there?

just stick with the do sync loop without trying to be cleverer bud
Tier 1 Developer
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 15th Feb 2019 21:32
Because on iPhones that is needed to get the orientation correct. I don't just throw junk in that I don't need.
puzzler2018
User Banned
Posted: 15th Feb 2019 21:35
Im happy you think of every eventually

mmmm IpHones - does that report back as iOS when use the GetDevicePlatform of something, maybe utilise that for Apple IOS resolutions



Tier 1 Developer
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 15th Feb 2019 21:42 Edited at: 15th Feb 2019 21:43
The fact is this works in Run Mode and should also work in Debug mode, which it has done until today. I feel confident the debug mode uses some sort of properties that is different than the windows.dat file found in AGKApps sub-folders, because this is not my first run-in with very odd debug behavior. Specifically, picking up files that Run mode does not have in any directory including the AGKApps sub-folders, yet I created them in Debug mode(save files, etc).

I should not have fudge my code just to work in debug mode, because some obscure setting was inadvertently changed. I'd just like to know where that folder is so I can delete the files.
puzzler2018
User Banned
Posted: 15th Feb 2019 21:47 Edited at: 15th Feb 2019 21:48
Understood - have you done that save and reboot - sorry its what i ask all clients to do and 99% is the cure..
Tier 1 Developer
puzzler2018
User Banned
Posted: 15th Feb 2019 21:51
Is this first time you have ever tried debug mode - i wouldnt imaging so, but thought to ask.
Tier 1 Developer
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 15th Feb 2019 21:53
I realise this might be a bug or some sort of anomaly but maybe you could try this;
1. Clear out the C:\Users\your_id\AppData\Local\AGKApps\your_app folder
2. Uninstall/reinstall AGK
3. Try GetWindowWidth/Height instead of GetDeviceWidth/Height
puzzler2018
User Banned
Posted: 15th Feb 2019 21:55 Edited at: 15th Feb 2019 21:57
Dammmm thats a basic reinstall... I been working with AppGameKit for 3 years with no issues what so ever.

Thats a drastic affair and the easy option - but then what if it stilll doesnt work?
Tier 1 Developer
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 15th Feb 2019 21:56
I've cleared out the AGKApps which is what caused this. Because for some reason my game window will randomly appear somewhere else on the screen(maybe because I use two monitors I dont know). So I have to periodically delete the windows.dat file to reset it. This time it somehow triggered this behavior.
puzzler2018
User Banned
Posted: 15th Feb 2019 21:59
Clean slate hey like Bliin0K said - that maybe the easy fastest option.

Im sure you let us know how you go
Tier 1 Developer
blink0k
Moderator
11
Years of Service
User Offline
Joined: 22nd Feb 2013
Location: the land of oz
Posted: 15th Feb 2019 22:08
Yeah. It would be nice to have a switch or something where you could say "Don't use the /users path use the current path"
puzzler2018
User Banned
Posted: 15th Feb 2019 22:10
It seems like you experienced this before Blin0K and I like the way your approaching things to guide people in the right direction

Awesome
Tier 1 Developer
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 16th Feb 2019 06:02 Edited at: 16th Feb 2019 06:08
...
puzzler2018
User Banned
Posted: 16th Feb 2019 08:18
Any news or still same?
Tier 1 Developer
Golelorn
8
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 16th Feb 2019 20:00 Edited at: 16th Feb 2019 20:03
Yes, there is another folder that AppGameKit writes to. It looks like when you run the debugger(and possible the broadcast?) the files go to AGKApps/Windows/"Project Name". I had over 10GB of files there just from images that I eventually took out of my main project.
Deleting everything there fixed my debugger issues. This really should be documented somewhere, as it explains why when I deleted my files in the main project it still showed up in Debugger mode.

Login to post a reply

Server time is: 2024-11-23 05:25:27
Your offset time is: 2024-11-23 05:25:27