Thread: Debugger q

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    1

    Question Debugger q

    I am using visual studio 2008 and have a situation wherre I want to detect whether or not my _DEBUG bits are running within the debugger or not. I haven't been able to find the info or I don't know the right question to ask. Anyone wnata help...

    Thanks in advance,

    Jim

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    You mean if the code inside _DEBUG defines is being run? Just place a breakpoint inside there, and see if it is hit.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting a C# program with a manifest file to run in the debugger
    By Xarzu Athanasop in forum C# Programming
    Replies: 0
    Last Post: 01-18-2008, 06:34 PM
  2. executing from debugger
    By hedwin in forum C++ Programming
    Replies: 8
    Last Post: 10-11-2007, 04:05 PM
  3. Replies: 3
    Last Post: 07-24-2007, 04:25 PM
  4. MSVC++ Debugger (it kills me)
    By lightatdawn in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 06-29-2002, 07:37 PM

Tags for this Thread