Differance between de-bugger and release versions

This is a discussion on Differance between de-bugger and release versions within the C++ Programming forums, part of the General Programming Boards category; I have an error in the release version of my program which occurs each time I do something, yet in ...

  1. #1
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163

    Question Differance between de-bugger and release versions

    I have an error in the release version of my program which occurs each time I do something, yet in de-bug mode it never does it. Any tips or hints?
    My site to register for all my other websites!
    'Clifton Bazaar'

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    There's obviously some debug specific code that is either fixing or covering up the problem, find out where it is in the release code and then see if you can figure out what part of the debug code is stopping it from happening.

    -Prelude
    My best code is written with the delete key.

  3. #3
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163
    I have NO de-bug specific code.
    My site to register for all my other websites!
    'Clifton Bazaar'

  4. #4
    Nor
    Nor is offline
    h ֆhr s Nor's Avatar
    Join Date
    Nov 2001
    Posts
    299
    What compiler are you using. MS-Visual c++ has known problems with using de-bug. So does Borland which is what I use.
    Check out their website and see if you can find anything.
    Try to help all less knowledgeable than yourself, within
    the limits provided by time, complexity and tolerance.
    - Nor

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,671
    > I have NO de-bug specific code
    It's generated by the compiler, not you

    Basically, all the code and data is arranged in a sightly different manner (but with the same functionality).

    Somewhere in these invisible gaps, the bug can be found - as Prelude says, the problem is being masked.

  6. #6
    Frustrated Programmer :( phantom's Avatar
    Join Date
    Sep 2001
    Posts
    163
    It's generated by the compiler, not you
    Now I understand why it's differant. I'll double check everything to see if I can get this problem.

    What compiler are you using.
    I use Microsoft VC++ for programming.
    My site to register for all my other websites!
    'Clifton Bazaar'

Popular pages Recent additions subscribe to a feed

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