Describe what you were doing when the crash occurred

A place to post suggestions for new features, new bugs, and comments about the existing code.
Post Reply
Compellor
Posts: 994
Joined: Fri Jul 06, 2007 12:56 am
Location: Columbus, OH

Post by Compellor »

I just experienced a crash in another program, and it occurred to me that if other programs are set up to automatically send information on a crash to the devs, then it might be worthwhile to add that to allegiance. This has probably been brought up before somewhere but I was just curious what the opinion was on adding such a feature.
Any job worth doing with a laser is worth doing with many, many lasers. -Khrima
Beyond a shadow of a doubt if you don't watch them like a hawk they will stack their collective balls off - MrChaos on Alleg players
Andarvi
Posts: 312
Joined: Wed Jan 02, 2008 1:51 pm
Location: Sitting in a dark room somewhere

Post by Andarvi »

That is more of a feature of the development enviroment Compellor, not something you 'add' to your own code. Allegiance is C-based? then it should be possibe to link in runtime debugger code, however it's really something you don't want to do so late in the development cycle, as it would cause far more problems that it would ever solve.
Last edited by Andarvi on Thu Apr 29, 2010 10:52 am, edited 1 time in total.
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

I think this is already on the CSS team's wish list in the form of stack trace from alleg
the.ynik
Posts: 101
Joined: Fri Apr 17, 2009 7:23 pm
Location: Germany

Post by the.ynik »

Andarvi wrote:QUOTE (Andarvi @ Apr 29 2010, 12:51 PM) That is more of a feature of the development enviroment Compellor, not something you 'add' to your own code. Allegiance is C-based? then it should be possibe to link in runtime debugger code, however it's really something you don't want to do so late in the development cycle, as it would cause far more problems that it would ever solve.
It's actually rather simple to get some rough information where the crash happened.
The crashing application just needs to create a minidump and have some separate (non-crashed) process upload it.
See http://msdn.microsoft.com/en-us/library/ms...28VS.85%29.aspx for details.
VS2010 even has built-in support for debugging dump files. (previously one had to use WinDbg which most devs are unfamiliar with)

However, ASGS is "protecting" allegiance by attaching as debugger. This might affect the ability to handle crashes within Allegiance. ASGS itself could create and upload the dump - it's in the ideal position for this as its already attached as debugger, and is a separate process that can safely upload the data when Allegiance.exe has crashed.
However the alleg devs don't have access to ASGS source code, so I guess we won't see this anytime soon :mad:
finnbryant
Posts: 360
Joined: Sat Feb 17, 2007 11:18 am
Location: England

Post by finnbryant »

EDIT: nevermind. "."
Last edited by finnbryant on Fri Apr 30, 2010 7:52 pm, edited 1 time in total.
fuzzylunkin1

Post by fuzzylunkin1 »

the.ynik wrote:QUOTE (the.ynik @ Apr 30 2010, 09:46 AM) It's actually rather simple to get some rough information where the crash happened.
The crashing application just needs to create a minidump and have some separate (non-crashed) process upload it.
See http://msdn.microsoft.com/en-us/library/ms...28VS.85%29.aspx for details.
VS2010 even has built-in support for debugging dump files. (previously one had to use WinDbg which most devs are unfamiliar with)

However, ASGS is "protecting" allegiance by attaching as debugger. This might affect the ability to handle crashes within Allegiance. ASGS itself could create and upload the dump - it's in the ideal position for this as its already attached as debugger, and is a separate process that can safely upload the data when Allegiance.exe has crashed.
However the alleg devs don't have access to ASGS source code, so I guess we won't see this anytime soon :mad:
Perhaps you should read:
madpeople wrote:QUOTE (madpeople @ Apr 29 2010, 06:17 AM) I think this is already on the CSS team's wish list in the form of stack trace from alleg
Post Reply