Using the debugger to see array contents

This is a discussion on Using the debugger to see array contents within the C++ Programming forums, part of the General Programming Boards category; Hello, I am using Bloodshed Dev and am trying to debug a program. When using the debugger how can I ...

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    5

    Using the debugger to see array contents

    Hello,

    I am using Bloodshed Dev and am trying to debug a program. When using the debugger how can I see the values inside the array?

    Thanks.

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,671
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,479
    I use the same compiler as you, and when I use debug mode, it runs through the program and checks for syntaz and parse errors, but I had no manual with mine. I am not quite sure how to alter it, but to be honest, I rarely use the debug function, as I correct any errors the compiler finds anyway. I would only use the debugger if I was doing a big application ie: a game!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. sorting number
    By Leslie in forum C Programming
    Replies: 8
    Last Post: 05-20-2009, 04:23 AM
  2. Replies: 2
    Last Post: 07-11-2008, 07:39 AM
  3. printing array contents
    By c_programmer in forum C Programming
    Replies: 6
    Last Post: 12-15-2006, 05:00 PM
  4. [question]Analyzing data in a two-dimensional array
    By burbose in forum C Programming
    Replies: 2
    Last Post: 06-13-2005, 07:31 AM
  5. Code: An auto expanding array (or how to use gets() safely).
    By anonytmouse in forum Windows Programming
    Replies: 0
    Last Post: 08-10-2004, 12:13 AM

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