Debugger q

This is a discussion on Debugger q within the C++ Programming forums, part of the General Programming Boards category; I am using visual studio 2008 and have a situation wherre I want to detect whether or not my _DEBUG ...

  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,260
    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, 05:05 PM
  3. Replies: 3
    Last Post: 07-24-2007, 05: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, 08:37 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21