DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007

    Debug Console...

    Greetings, all.

    I want to add a debug/information console to my c++ program. Does anyone know of any places to look for information regarding that? My searches on the net have just returned things about console applications and debuggers.

    Is there a better string to search by? I've tried "debug console", "information window", etc.

  2. #2
    Join Date
    Nov 2003
    What's a debug console exactly? C++ isn't Java. You debug your program with a debugger, which in most cases is embedded in yoru IDE anyway. When the program crashes, the JIT debugger is invoked automatically, if it's installed of course.
    Danny Kalev

  3. #3
    Join Date
    Jan 2007
    You can build it with debuging information and run it in debug mode.

  4. #4
    Join Date
    Apr 2007
    No-no-no. Apologies for any confusion. When I say 'debug console' I mean a console window(as it were) where I can get information from my program while it's running, e.g., which moves have been played, what certain functions evaluate to, etc. I'd also like to be able to input moves into the console and have them placed on the game board.

    I dug around for a few hours last night and found a rather easy way to add that console via AllocConsole() and other functions. I am amazed at how easy it's been so far, especially since most of the info came from msdn, which can be confusing at times.

    Any other suggestions, folks?

Similar Threads

  1. clear screen console application vs 2005
    By wartech in forum .NET
    Replies: 1
    Last Post: 10-02-2006, 12:22 PM
  2. Console I\O to Textbox in VB.NET
    By Jugg in forum .NET
    Replies: 4
    Last Post: 02-13-2006, 03:45 PM
  3. Java Mail Error
    By ddsuresh in forum Java
    Replies: 1
    Last Post: 12-29-2005, 09:58 AM
  4. Replies: 0
    Last Post: 08-21-2005, 05:59 AM
  5. Replies: 0
    Last Post: 01-31-2003, 07:59 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.