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. See the execution path of my program

See the execution path of my program

Scheduled Pinned Locked Moved C#
questiondebugginglearning
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.
  • A Offline
    A Offline
    anderslundsgard
    wrote on last edited by
    #1

    I’m a new developer in a very complex project. I like to create a program that can plot the methods that is executing in the program to get a fast view of what is calling what. Of course I can debug the program but the best way right now is to write some code like this:

    StackTrace s = new StackTrace();

    CallAMettodThatDoesALotOfOtherCalls();

    s.PrintAllCalledMethodsInAnEasyToReadWay();

    Any tip on code/tool that manages that?

    _____________________________ ...and justice for all

    L 1 Reply Last reply
    0
    • A anderslundsgard

      I’m a new developer in a very complex project. I like to create a program that can plot the methods that is executing in the program to get a fast view of what is calling what. Of course I can debug the program but the best way right now is to write some code like this:

      StackTrace s = new StackTrace();

      CallAMettodThatDoesALotOfOtherCalls();

      s.PrintAllCalledMethodsInAnEasyToReadWay();

      Any tip on code/tool that manages that?

      _____________________________ ...and justice for all

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Not that I know of, but I'd sure like a copy of such a tool if you can find it :-\

      I are troll :)

      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