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 / Debug exe causing plugin crash

Author
Message
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 12th Aug 2017 17:14
When running debug mode on my project I'm getting a crash when the plugin is calling some internal functions but it works fine in normal preview mode, all pointers are error trapped I cant for the life of me figure out why its crashing!

any pointers on what the debug exe does differently to the standard player that could give me a clue on what's going on?
PartTimeCoder
AGK Tool Maker
9
Years of Service
User Offline
Joined: 9th Mar 2015
Location: London UK
Posted: 12th Aug 2017 17:22
Doh!!

Never mind, I was over running allocated memory by 1 byte (didn't account for the null!), I expanded the buffer and it working as expected, funny thought it didn't crash in preview mode and there was no data corruption .... that's 2 hours down for a (len+1)
Wilf
Valued Member
17
Years of Service
User Offline
Joined: 1st Jun 2006
Location: Gone to Unity.
Posted: 17th Aug 2017 07:56
Read your last post then looked at your avatar image, they go very well together
MikeMax
AGK Academic Backer
12
Years of Service
User Offline
Joined: 13th Dec 2011
Location: Paris
Posted: 17th Aug 2017 08:01
lol
--------------------------------
Join us on dedicated AppGameKit WeeKChat :
https://week.chat/room/AppGameKit

Login to post a reply

Server time is: 2024-04-25 18:27:50
Your offset time is: 2024-04-25 18:27:50