Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Memory Debugging Tools

Memory Debugging Tools

Scheduled Pinned Locked Moved C#
performancecsharpc++toolsquestion
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vineas
    wrote on last edited by
    #1

    Are there any decent memory debuggers out there that will work in a mixed C# and C++ (both managed and unmanaged) environment? I'm helping a collegue track down some problems in his code, the hunt started for a reason that the EngineExecutionException was being randomly thrown, but several AccessViolationExceptions were found after removing some "catch (Exception ex)" lines were removed, so we're tracking down these access violations first, thinking that they are perhaps some of the reasons behind the EngineExecutionException. I've used BoundsChecker in the past with great success, but it looks like this as well as pretty much every tool I'm finding is for unmanaged C/C++ only. Managed code "shouldn't" have these problems, but unsafe code blocks are used quite a bit in an effort to speed the program up (speed is very imporant to this program) - and it's looking like the AccessViolationException isn't being thrown on all of the incorrect accesses, so we're getting some corrupted memory (even had a file get corrupted that was only open for read, still wondering how that happened).

    ----- In the land of the blind, the one eyed man is king.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups