Hurt, and need an attorney? Call Edgar Snyder, he's ambulance chaser.
http://www.edgarsnyder.com/
http://www.edgarsnyder.com/
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Quote from: Original Post
I am not sure if any of you are already aware but GCC and MinGW are redistributed in ENIGMA with GDB a popular and powerful debugging tool.
http://www.sourceware.org/gdb/
If your game opens and closes immediately or crashes, GDB can tell you what line in the ENIGMA source code your game crashed in. These are the steps to run your game in GDB.
1) Open your game in ENIGMA and execute it in debug mode by clicking the debug icon, this will add debugging symbols to the built executable.
2) Close the game, and look in the output window for the name of the output executable, usually a temp file on Windows and is usually named egm503450990 or similar. Copy and paste the full path to your clipboard.
3) Open enigma-dev/git-bash or on Linux or Mac any Command Line Interface or Terminal will suffice.
4) Enter "gdb file/path/to/egm/with/debugging/symbols" on the command line and hit enter.
5) Type "run" and hit enter.
6) Run the game to the point that it crashes, once it does GDB will display the segfault information.
7) If the error report is not detailed enough type "bt" for backtrace and hit enter, and it will show you the exact source files and what lines the error occurred in/on.
8) To close your game you may have to type "quit" and hit enter.
And there you have it, some advanced and very helpful debugging. These debug logs can also be useful when filing a help desk ticket as well, and you are encouraged to include them if you know how.
Note: On Windows to copy and paste a terminal window, right click on the title bar and hit Edit->Select All/Copy
Quote from: RezYou ask me to share how I fixed the chair, but I refuse.Reverse engineering is legal to a certain extent, especially concerning portability.
Quote from: TKGThere's only 24 hours in a day, with eating, drinking, sleeping, and everyday life getting in the way.Lol, I said literally the same exact thing to Josh, I think everyone has generally the same level of mental capacity it's just focused on different areas. I also argue a lot that even though I hate sports, the players aren't dumb, they have to do an immense amount of training since they are young and develop certain portions of their brain further, i.e. hand to eye coordination, than say someone who sits and reads books or does programming.
Quote from: TheExDeusOn the same topic I should also say that we need a uniform error reporting function. A function that would report errors in a nice window with selectable text (like GM) and use that everywhere. Right now error reporting is very shattered in ENIGMA. On Windows we can make a windows form to do that, but in not sure how to do the same in Linux/Mac.We do, it's the same function from GM8.1