User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 10 of 28

Thread: DebugObject update

  1. #1
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)

    DebugObject update

    Just a note to tell the peeps that the second version of DebugObject is out.
    http://dark-wire.com/products.php
    This version has shared data across the application and catches unhandled exceptions (i.e. crashes) thrown by the MMF2 runtime and other extensions, and can either start an infinite sleep to wait for you to attach a debugger, pass control to a debugger automatically, continue the execution, etc.

    Enjoy.

  2. #2
    Clickteam Clickteam
    LB's Avatar
    Join Date
    Jun 2007
    Location
    Richardson, Texas, North America
    Posts
    8,937
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Nice! How did you manage to get it to catch thrown exceptions that are not part of your extension's call stack?
    Working as fast as I can on Fusion 3

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fanotherpg's Avatar
    Join Date
    Jul 2006
    Location
    High Wycombe, Buckinghamshire, UK
    Posts
    3,663
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Because he's on the Dark side of the Net tfuu I meant Web. Anyway great extension SortaCore!

  4. #4
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Where were you yesterday LB? I needed some help with that global data sharing, and all I had was 7 admins and a moderator gazing down at me. It was like death, but slower and with more CT staff. And less death.

  5. #5
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Another update today folks, I replaced a few NULLs with references to actual variables, so global data sharing should actually be added.
    Also, I am supplying the debug symbols with private symbols stripped. This means you can see the name of the function in DebugObject in the call stack that crashes if the actual object itself breaks, but none of the source code. It helps debugging objects considerably - for example, if DebugObject crashed on the "OpenFile()" function, you would know where to start, rather than "0x3FBBA21E()".
    Microsoft actually supply these symbols for all their Windows DLLs (which are closed-source), and even host them on a dedicated set of servers, so anyone with Visual Studio can download them directly while debugging:

    I'll be doing this for all of my objects starting from their next update. I hope Yves/Francois distribute the stripped debug symbols for the MMF2 runtime so we have a better idea of why edrt.exe is crashing when it does.
    You can build stripped debug symbols the same way you build regular symbols, just use the box below the "Generate Program Database File", and put a different file name in. VS will build a stripped-info set of debug symbols. Make sure "Generate Debug Info" is set to Yes at the top, as well.

    In the above example you can see that the kernel function that has paused the Gwerdy chatroom is a "WaitForObject" function. Much more helpful than "It's anything in Kernel32.dll".
    hint, hint, Yves/Francios...
    Attached thumbnails Attached thumbnails Click image for larger version. 

Name:	pdb function.jpg‎ 
Views:	335 
Size:	20.0 KB 
ID:	6152   Click image for larger version. 

Name:	IMG_02042012_013135.jpg‎ 
Views:	335 
Size:	17.4 KB 
ID:	6153  

  6. #6
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi SortaCore, (Phi now) !

    Thanks for this amazing extension (I waiting so much for a thing of that kind)!

    But.. I can't figure how using this... Can you write some documentations files, (or Example) and ship with next release ?

    Thanks one more time, you rocks!

  7. #7
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    The extension is semi-intuitive, but once it gets to a final release, there'll be help docs if I deem it not newbie-friendly.
    What particular part is confusing you?

  8. #8
    Clicker Fusion 2.5
    Fusion 2.5 (Steam)
    BackStaged's Avatar
    Join Date
    Aug 2010
    Location
    France
    Posts
    693
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In fact .. all lol

    No more seriously, I can't figure where I must start to debug with your extension, can you provide some samples ?
    (Handles crash, Output) that's matter..

    I can't make the things working (certainly because I take the wrong orders of actions...)

    Help please

  9. #9
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    Okay, I recommend an order like thus:

    Click to see full-size image.
    That should get you working

  10. #10
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    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)Firefly 3D Module (Steam)
    Phi's Avatar
    Join Date
    Jan 2010
    Location
    England
    Posts
    1,964
    Mentioned
    25 Post(s)
    Tagged
    0 Thread(s)
    I've experienced a crash using this object in Windows Server 2008 R2 64-bit; I am unable to find a suitable way to debug it, so the bug is most likely going to remain for a while.

Page 1 of 3 1 2 3 LastLast

Similar Threads

  1. DebugObject now out - run events when your app crashes
    By Phi in forum Extension Development
    Replies: 19
    Last Post: 5th October 2020, 10:33 PM
  2. About update
    By Xenon3000 in forum Fusion 2.5
    Replies: 1
    Last Post: 14th October 2013, 01:04 PM
  3. I cant update my MMF 2 Dev
    By MGEnt in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 20th October 2010, 03:48 PM
  4. [Update] Onu v1.12
    By TwiTerror in forum Extension Development
    Replies: 18
    Last Post: 8th March 2008, 11:23 PM
  5. possible update.
    By SEELE in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 1st February 2008, 02:35 AM

Posting Permissions

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