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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. How to trace the method call path?

How to trace the method call path?

Scheduled Pinned Locked Moved C#
debuggingquestiondatabasedesigntools
2 Posts 2 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.
  • K Offline
    K Offline
    Krishnaraj Barvathaya B
    wrote on last edited by
    #1

    Hi, I have a task of understanding a particular vendor software product and re-engineer it for some custom purpose. Right now I am not able to find where the stored procedures are getting invoked, in the sense which method is calling it. Even I don’t know is there any referenced dll is invoking the stored procedure. I have an utility which can generate code from assembly. So I can debug it. Now my question is, Is there any way I can trace the method call path from the UI button click till the stored procedure is getting invoked. If my question is not clear, please let me know. I will elaborate it more. Thanks in advance.

    Krishnaraj Barvathaya B

    P 1 Reply Last reply
    0
    • K Krishnaraj Barvathaya B

      Hi, I have a task of understanding a particular vendor software product and re-engineer it for some custom purpose. Right now I am not able to find where the stored procedures are getting invoked, in the sense which method is calling it. Even I don’t know is there any referenced dll is invoking the stored procedure. I have an utility which can generate code from assembly. So I can debug it. Now my question is, Is there any way I can trace the method call path from the UI button click till the stored procedure is getting invoked. If my question is not clear, please let me know. I will elaborate it more. Thanks in advance.

      Krishnaraj Barvathaya B

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      You might want to take a look at CLR Profiler. It traces paths of running code - it won't tell you exactly where something is called, but it will give you a fair starting point.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      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