Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problem debugging an app with VC++

Problem debugging an app with VC++

Scheduled Pinned Locked Moved C / C++ / MFC
c++debugginghelpannouncement
10 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    timbk
    wrote on last edited by
    #1

    Hello , my problem is this: I have a dialog based app that used to works fine, then i added some code ,a few lines, and i forgot to put some "()" and ";" , then when i tried to compile, the compiler crashed , so i killed the Microsoft visual c++ with the task mananger and then i re started the Microsoft vc++ and i opened the same project again, i deleted the few lines added before and i compiled again, no errors messages, but when i attempt to run the app (with crtl +F5) it doesn't starts , so i try to debug the app and i get these errors messages : Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\inpout32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MFC42D.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSVCRTD.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found. Loaded symbols for 'C:\WINDOWS\system32\MFCO42D.DLL' Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\mfc42loc.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of ra

    C 1 Reply Last reply
    0
    • T timbk

      Hello , my problem is this: I have a dialog based app that used to works fine, then i added some code ,a few lines, and i forgot to put some "()" and ";" , then when i tried to compile, the compiler crashed , so i killed the Microsoft visual c++ with the task mananger and then i re started the Microsoft vc++ and i opened the same project again, i deleted the few lines added before and i compiled again, no errors messages, but when i attempt to run the app (with crtl +F5) it doesn't starts , so i try to debug the app and i get these errors messages : Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\inpout32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MFC42D.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSVCRTD.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found. Loaded symbols for 'C:\WINDOWS\system32\MFCO42D.DLL' Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\mfc42loc.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of range. Warning: dialog data checkbox value (-858993460) out of ra

      C Offline
      C Offline
      Chris Losinger
      wrote on last edited by
      #2

      the first 30 or so lines are not errors. that's just VC telling you that you won't be able to debug into system DLLs. you'll see them every time you start the debugger. the last 8 are telling you that you're trying to set a checkbox to an invalid state. check your DDX_Check calls, and make sure that the last parameter has been set to something in the range of 0 to 2.

      image processing toolkits | batch image processing

      T 1 Reply Last reply
      0
      • C Chris Losinger

        the first 30 or so lines are not errors. that's just VC telling you that you won't be able to debug into system DLLs. you'll see them every time you start the debugger. the last 8 are telling you that you're trying to set a checkbox to an invalid state. check your DDX_Check calls, and make sure that the last parameter has been set to something in the range of 0 to 2.

        image processing toolkits | batch image processing

        T Offline
        T Offline
        timbk
        wrote on last edited by
        #3

        Thanks, well i found and deleted the lines that causes the warnings, now when the debugging starts i get: Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\inpout32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MFC42D.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSVCRTD.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found. Loaded symbols for 'C:\WINDOWS\system32\MFCO42D.DLL' Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\mfc42loc.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found. The program 'D:\Proyecto final\VC++\Calibracion2\Debug\Calibracion.exe' has exited with code 0 (0x0). And of course when a try to run the app (.exe) the process is loaded into memory , it consumes 50% processor resourses, but never it appears on the screen, like i said above , before the first crash, it was working, and now i have the same code , and i don't touch anything else, i'm confused.

        C 1 Reply Last reply
        0
        • T timbk

          Thanks, well i found and deleted the lines that causes the warnings, now when the debugging starts i get: Loaded 'ntdll.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\inpout32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\advapi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\rpcrt4.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\secur32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MFC42D.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSVCRTD.DLL', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\gdi32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\user32.dll', no matching symbolic information found. Loaded symbols for 'C:\WINDOWS\system32\MFCO42D.DLL' Loaded 'C:\WINDOWS\system32\imm32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\mfc42loc.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\comctl32.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\msvcrt.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\shlwapi.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\uxtheme.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTF.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\version.dll', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\MSCTFIME.IME', no matching symbolic information found. Loaded 'C:\WINDOWS\system32\ole32.dll', no matching symbolic information found. The program 'D:\Proyecto final\VC++\Calibracion2\Debug\Calibracion.exe' has exited with code 0 (0x0). And of course when a try to run the app (.exe) the process is loaded into memory , it consumes 50% processor resourses, but never it appears on the screen, like i said above , before the first crash, it was working, and now i have the same code , and i don't touch anything else, i'm confused.

          C Offline
          C Offline
          Chris Losinger
          wrote on last edited by
          #4

          ignore those msgs, really.

          image processing toolkits | batch image processing

          T 1 Reply Last reply
          0
          • C Chris Losinger

            ignore those msgs, really.

            image processing toolkits | batch image processing

            T Offline
            T Offline
            timbk
            wrote on last edited by
            #5

            Ok , but do you have any ideas of what is happening? Once i had a similar problem and i took the project from a previous backup, and i added the new lines , compile and problem solved, i'm sure that if i do the same again, the problem would be solved, but it's a lot of work to update the project from the last backup, and I'm really intrigued of wich is the cause of that kind of problems. . .

            C 1 Reply Last reply
            0
            • T timbk

              Ok , but do you have any ideas of what is happening? Once i had a similar problem and i took the project from a previous backup, and i added the new lines , compile and problem solved, i'm sure that if i do the same again, the problem would be solved, but it's a lot of work to update the project from the last backup, and I'm really intrigued of wich is the cause of that kind of problems. . .

              C Offline
              C Offline
              Chris Losinger
              wrote on last edited by
              #6

              every app in Windows loads a whole bunch of DLLs from the system, in order to run. when those DLLs get loaded, the debugger looks at them to see if it can step into them or not. if not, the debugger will print a little message telling you about it. obviously, nobody outside of Microsoft can debug into the system DLLs. it isn't a problem, really. there is nothing to worry about. if you didn't see those messages before, maybe you were running in non-debug mode. but if you're running in debug mode, you should expect to see them every single time you start your app.

              image processing toolkits | batch image processing

              T 1 Reply Last reply
              0
              • C Chris Losinger

                every app in Windows loads a whole bunch of DLLs from the system, in order to run. when those DLLs get loaded, the debugger looks at them to see if it can step into them or not. if not, the debugger will print a little message telling you about it. obviously, nobody outside of Microsoft can debug into the system DLLs. it isn't a problem, really. there is nothing to worry about. if you didn't see those messages before, maybe you were running in non-debug mode. but if you're running in debug mode, you should expect to see them every single time you start your app.

                image processing toolkits | batch image processing

                T Offline
                T Offline
                timbk
                wrote on last edited by
                #7

                You are right, haps i didn't explain it too well, let's forget those messages, the problem is that before i added some lines to the project, the app was running well, then i added those lines , with some mistakes and when i tried to compile the compiler crashes, so i closed the projet and opened again, i deleted the added lines (so the code is the same that before) and compiled it, no errors, but when i try to run the app (not in debug mode)it doesn't works, did i explain well?

                L 1 Reply Last reply
                0
                • T timbk

                  You are right, haps i didn't explain it too well, let's forget those messages, the problem is that before i added some lines to the project, the app was running well, then i added those lines , with some mistakes and when i tried to compile the compiler crashes, so i closed the projet and opened again, i deleted the added lines (so the code is the same that before) and compiled it, no errors, but when i try to run the app (not in debug mode)it doesn't works, did i explain well?

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #8

                  Set a breakpoint at the beginning of the program and run it with the debugger. Single step through each line of code to find what is causing the problem. This is the only way to discover what is wrong.

                  T 1 Reply Last reply
                  0
                  • L Lost User

                    Set a breakpoint at the beginning of the program and run it with the debugger. Single step through each line of code to find what is causing the problem. This is the only way to discover what is wrong.

                    T Offline
                    T Offline
                    timbk
                    wrote on last edited by
                    #9

                    Thanks man, i ran the app step by step and i realized that the problem was a "For" sentence in wich the condition was i= 100 instead of i<100, so tanks a lot.

                    L 1 Reply Last reply
                    0
                    • T timbk

                      Thanks man, i ran the app step by step and i realized that the problem was a "For" sentence in wich the condition was i= 100 instead of i<100, so tanks a lot.

                      L Offline
                      L Offline
                      Lost User
                      wrote on last edited by
                      #10

                      Wish I had a £ for every time I've done that :)

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups