Click here to Skip to main content
15,888,113 members
Home / Discussions / C#
   

C#

 
AnswerRe: PocketSphinx Pin
Dave Kreskowiak21-Nov-14 8:39
mveDave Kreskowiak21-Nov-14 8:39 
AnswerRe: PocketSphinx Pin
BillWoodruff21-Nov-14 9:31
professionalBillWoodruff21-Nov-14 9:31 
Questionhow to solve System.OutOf Memory Exception was thrown Pin
cicill21-Nov-14 5:24
cicill21-Nov-14 5:24 
AnswerRe: how to solve System.OutOf Memory Exception was thrown Pin
Eddy Vluggen21-Nov-14 5:35
professionalEddy Vluggen21-Nov-14 5:35 
AnswerRe: how to solve System.OutOf Memory Exception was thrown Pin
OriginalGriff21-Nov-14 5:50
mveOriginalGriff21-Nov-14 5:50 
AnswerRe: how to solve System.OutOf Memory Exception was thrown Pin
hassan faghihi21-Nov-14 22:27
professionalhassan faghihi21-Nov-14 22:27 
QuestionApplication has stopped working error in C# .NET application Pin
eljainc21-Nov-14 4:51
eljainc21-Nov-14 4:51 
AnswerRe: Application has stopped working error in C# .NET application Pin
OriginalGriff21-Nov-14 5:10
mveOriginalGriff21-Nov-14 5:10 
Intermittent errors are the worst to try and find: if you can't duplicate it, you can't fix it.
And "The application has stopped working" tells you (and I) nothing at all about why it stopped - it's a generic message that you app did something it wasn't supposed to.

So the first thing you need is information!
You are going to have to add logging to your app - to try and work out roughly where it is when it crashes. I'd suggest starting at a high level, and logging the rough areas the user is using: enter and exit event handlers to a file until you can get a "feel" for which handlers are causing the problem. Then you can focus more logging into the methods that calls to try and work out what it's doing. Using File.AppendAllText is the simplest method, and should be relatively unobtrusive (util you get down into the nitty-gitty of low level methods, anyway). Try to keep old log files by renaming them when your app starts.

Going to take a while, I'm afraid - but there isn't a lot else you can do until you know roughly what area it is crashing in.
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

AnswerRe: Application has stopped working error in C# .NET application Pin
Redgum21-Nov-14 5:11
professionalRedgum21-Nov-14 5:11 
AnswerRe: Application has stopped working error in C# .NET application Pin
Richard MacCutchan21-Nov-14 5:12
mveRichard MacCutchan21-Nov-14 5:12 
QuestionRaise RowCommand event of GridView with asynchronous postback Pin
Miroslav Georgiev20-Nov-14 22:33
Miroslav Georgiev20-Nov-14 22:33 
QuestionSentimental analysis and plotting charts with C# Pin
sachidanandgowda20-Nov-14 21:54
sachidanandgowda20-Nov-14 21:54 
QuestionRe: Sentimental analysis and plotting charts with C# Pin
Richard MacCutchan20-Nov-14 23:21
mveRichard MacCutchan20-Nov-14 23:21 
AnswerRe: Sentimental analysis and plotting charts with C# Pin
Mycroft Holmes20-Nov-14 23:31
professionalMycroft Holmes20-Nov-14 23:31 
GeneralRe: Sentimental analysis and plotting charts with C# Pin
Richard MacCutchan20-Nov-14 23:57
mveRichard MacCutchan20-Nov-14 23:57 
GeneralRe: Sentimental analysis and plotting charts with C# Pin
BillWoodruff21-Nov-14 9:35
professionalBillWoodruff21-Nov-14 9:35 
GeneralRe: Sentimental analysis and plotting charts with C# Pin
Mycroft Holmes21-Nov-14 13:10
professionalMycroft Holmes21-Nov-14 13:10 
AnswerRe: Sentimental analysis and plotting charts with C# Pin
BillWoodruff21-Nov-14 9:40
professionalBillWoodruff21-Nov-14 9:40 
GeneralI want to know whether mycode is right Pin
fengyuchun8820-Nov-14 16:45
fengyuchun8820-Nov-14 16:45 
QuestionRe: I want to know whether mycode is right Pin
Richard MacCutchan20-Nov-14 21:51
mveRichard MacCutchan20-Nov-14 21:51 
QuestionWPF Controls Binding to Object doesn't work Pin
jerryeagle20-Nov-14 11:34
jerryeagle20-Nov-14 11:34 
AnswerRe: WPF Controls Binding to Object doesn't work Pin
Richard MacCutchan20-Nov-14 21:49
mveRichard MacCutchan20-Nov-14 21:49 
QuestionAutomated fetch of data from SQL database using C# Pin
Member 1113303420-Nov-14 9:06
Member 1113303420-Nov-14 9:06 
AnswerRe: Automated fetch of data from SQL database using C# Pin
Mycroft Holmes20-Nov-14 11:44
professionalMycroft Holmes20-Nov-14 11:44 
Questionhow to pass values to different master page in asp.net? Pin
iamvinod3420-Nov-14 5:07
iamvinod3420-Nov-14 5:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.