User Tag List

Results 1 to 8 of 8

Thread: Question for Yves or Francois: logging events

  1. #1
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question for Yves or Francois: logging events

    I am just curious why there isnt some kind of debugging log that would be extremely useful while debugging random crashes in applications (rather apps than games). When using many extensions its sometimes pretty tricky or even impossible to find out what event is causing it (considering hundreds of events).

    Logging would increase "developer" value of MMF, IMHO - simple logging of executed events generated to some output file would be good enough, however I have no idea how difficult would it be to implement?
    Maybe just logging numbers of executed lines wouldnt be too hard.
    I think it would be really great help.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Yves or Francois: logging events

    There is a debug app in XP. I stumbled upon it last week http://technet.microsoft.com/en-us/library/bb490913.aspx
    the command line reference is a goldmine of information.

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export ModuleUnicode Add-on

    Join Date
    Jun 2006
    Location
    Australia
    Posts
    988
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Yves or Francois: logging events

    I would definitely find this useful. If MMF was able to simply mention which extension caused it to crash then that would help enormously.

    DJFuego - did you mean to link to Getmac? I've tried using the debugger tools in Vista, but I needed symbol files etc so it wasn't too useful.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: Question for Yves or Francois: logging events

    I was thinking of having a event debugger when I was working on MMF2. But the works was so immense (you have to have all the event routines, all the resources and a small event editor etc) that I dropped it and just displayed the objects data.
    Maybe in MMF3...

  5. #5
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Jun 2006
    Posts
    903
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Yves or Francois: logging events

    Francois: and what about simple output of last event (number of line e.g.) that should be processed?
    So if the debug file contained number 20, you would know the crash was on that line in event editor.
    I mean no complex debug, only simple showing which event line MMF was about to process.

  6. #6
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Yves or Francois: logging events

    Quote Originally Posted by netninja
    I would definitely find this useful. If MMF was able to simply mention which extension caused it to crash then that would help enormously.

    DJFuego - did you mean to link to Getmac? I've tried using the debugger tools in Vista, but I needed symbol files etc so it wasn't too useful.
    I have found over time that debugging tools for Windows aren't always accurate about where a crash occurs, but they will accurately tell what extension (by naming the mfx file) caused the crash. I believe if you get Microsoft's send error report dialog, if you click details you can also get the name of the faulting extension.

  7. #7
    Clicker Multimedia Fusion 2
    BrandonC's Avatar
    Join Date
    Jun 2006
    Location
    PA, USA
    Posts
    931
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Yves or Francois: logging events

    Maybe I'm completely miss-interpreting the idea here, but maybe you could make it so that every event you add 1 to a counter and save it to an INI, reset it to 0 at the last event. Then if it crashes, you'd have a number in an INI file that signifies where the game stopped.

    Merely a work around, but it might be interesting to toy around with.

  8. #8
    Forum Moderator

    Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleUniversal Windows Platform Export ModuleSWF Export ModuleXNA Export ModuleInstall Creator Pro
    nivram's Avatar
    Join Date
    Jul 2006
    Location
    Bandon, Oregon
    Posts
    6,773
    Mentioned
    12 Post(s)
    Tagged
    0 Thread(s)

    Re: Question for Yves or Francois: logging events

    That sounds like a good debugging work around.

    Marv
    ​458 TGF to CTF 2.5+ Examples and games
    http://www.castles-of-britain.com/mmf2examples.htm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •