DEBUGGING problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • haneeshkb
    New Member
    • Nov 2007
    • 23

    DEBUGGING problem

    Hi,
    I am using Borland c++ 5.5 version for my application development.whe n I am using some GUI codes in my application I couldn't able to debug the program.. If the program contains only console application codes it can debug. can anybody help me ?
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    Are you using debug versions of your GUI code?

    Comment

    • BorlandDelphi
      Banned
      New Member
      • Mar 2008
      • 18

      #3
      I think GUI is not for Windows. In the new project set up that oprtion. I think!

      I'm Borland User, say if you need a help

      Comment

      • weaknessforcats
        Recognized Expert Expert
        • Mar 2007
        • 9214

        #4
        What I meant to say was that in order to debug, there must be code in your executable to support the debugger. That code is put there by the compiler only when you make a debug build. You cannot use your debugger on just any old code.

        As long as your files and any libraries you use are debug libraries, then you should be able to use your debugger.

        Comment

        • haneeshkb
          New Member
          • Nov 2007
          • 23

          #5
          Can you please tell me how to set up that option in the project..







          Originally posted by BorlandDelphi
          I think GUI is not for Windows. In the new project set up that oprtion. I think!

          I'm Borland User, say if you need a help

          Comment

          • haneeshkb
            New Member
            • Nov 2007
            • 23

            #6
            Originally posted by weaknessforcats
            What I meant to say was that in order to debug, there must be code in your executable to support the debugger. That code is put there by the compiler only when you make a debug build. You cannot use your debugger on just any old code.

            As long as your files and any libraries you use are debug libraries, then you should be able to use your debugger.

            I haven't written any code for debug purpose( you mean some preprocessor directives) .How can I add those codes into my existing application or is there any other way / or any other third party debuggers to support these??

            Comment

            • hsn
              New Member
              • Sep 2007
              • 237

              #7
              Originally posted by weaknessforcats
              What I meant to say was that in order to debug, there must be code in your executable to support the debugger. That code is put there by the compiler only when you make a debug build. You cannot use your debugger on just any old code.

              As long as your files and any libraries you use are debug libraries, then you should be able to use your debugger.
              good to know that
              thanks

              hsn

              Comment

              Working...