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. Visual Basic
  4. System.Diagnostics.StackTrace() giving inconsistent results [modified]

System.Diagnostics.StackTrace() giving inconsistent results [modified]

Scheduled Pinned Locked Moved Visual Basic
debuggingquestionannouncement
2 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.
  • M Offline
    M Offline
    mr_lasseter
    wrote on last edited by
    #1

    I am using System.Diagnostics.StackTrace().GetFrame(1).GetMethod.Name and I am getting inconsistent results when I run this in debug mode versus release mode. For the debug mode it is working how I expect it to, but for the Release mode some of the functions are not shown in the StackTrace. I am using the 2.0 framework. Anyone have any idea what might be going on? Thanks in advance. -- modified at 10:52 Friday 25th August, 2006

    Mike Lasseter

    M 1 Reply Last reply
    0
    • M mr_lasseter

      I am using System.Diagnostics.StackTrace().GetFrame(1).GetMethod.Name and I am getting inconsistent results when I run this in debug mode versus release mode. For the debug mode it is working how I expect it to, but for the Release mode some of the functions are not shown in the StackTrace. I am using the 2.0 framework. Anyone have any idea what might be going on? Thanks in advance. -- modified at 10:52 Friday 25th August, 2006

      Mike Lasseter

      M Offline
      M Offline
      mr_lasseter
      wrote on last edited by
      #2

      Nevermind. I see that it is the way it intended to be.

      Mike Lasseter

      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