|
Without looking at any code, here's the best advice I can provide:
Write yourself a public static method that opens a textfile, appends a line, then closes the text file everytime it's called. Then, call upon this method in your code at the beginning of every method passing a string containing the name of the method. (You may want your program to delete the file when the program first starts to prevent it from getting extremely huge.) This will provide you a sort of stack trace to help you know what method it's freezing in. You can also use the method to print out the values of variables and stuff so you can see the insides of your program without having to break the code in debug.
Outside of this, you could set breakpoints at various places in your code in the IDE and run the app in debug. Then when the program stops at your breakpoint, check the values of all the variables to see if they are returning what you want.
Seriously though, the first thing you'll want to check is to ensure that the pc has the necessary stuff installed. Perhaps the program is needing a specific version of DirectX and that one computer just doesn't have it installed? I'd probably check this first before I try to debug since the app does work on other pc's.
|