IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

MFC Discussion :

mode debug, affiche plein de lignes WndProc:


Sujet :

MFC

  1. #1
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut mode debug, affiche plein de lignes WndProc:
    bonjour,
    sur mes appli lorsque je lance l'appli en mode debug (F5) la fenetre debug se rempli de lignes du genre : WndProc: hwnd=0x..., msg=WM...(...,...)
    alors que je n'avais auparavent que mes lignes affiché par "TRACE(..."
    est ce une de mes options qui a été modifié ou quoi ?
    Merci

  2. #2
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    j'oubliai : j'utilise VC++ 6 !

  3. #3
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    alors ! toujours personne pour me renseigner !
    meme sur une appli basique trés minimale, j'ai ce defaut, alors que je n'ai pas de multithread de lancé ni rien !

    merci

  4. #4
    Membre averti
    Inscrit en
    Mars 2007
    Messages
    58
    Détails du profil
    Informations forums :
    Inscription : Mars 2007
    Messages : 58
    Par défaut
    Ah ouais normal

  5. #5
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    pourquoi normal !
    avant je ne l'avais pas et ça me polue l'affichage des info de debug !

    merci

  6. #6
    Membre averti
    Inscrit en
    Mars 2007
    Messages
    58
    Détails du profil
    Informations forums :
    Inscription : Mars 2007
    Messages : 58
    Par défaut
    C'est comme s itu veux avoir canal plus en clair sans payer tu te met une passoire devant les yeux. Bah la c pareil tu met une passoire devant t yeux et ces messages trop chiant ils disparaissent comme par enchantement.

  7. #7
    Rédacteur
    Avatar de farscape
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Novembre 2003
    Messages
    9 055
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Novembre 2003
    Messages : 9 055
    Par défaut
    salut,
    tu peux mettre une copie d'écran de ton sujet ?

  8. #8
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    voici une partie de ce qu'il s'affiche dans la fenetre de debug en plus des infos envoyées par "TRACE..." ; ce sont des pleines pages qui se remplissent de ces info là !

    Merci

    DEBUG :

    Loaded 'E:\WINNT\system32\ntdll.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\kernel32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\user32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\gdi32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\comdlg32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\shlwapi.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\advapi32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\rpcrt4.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\comctl32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\shell32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\msvcrt.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\winspool.drv', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\mpr.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\oledlg.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\ole32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\olepro32.dll', no matching symbolic information found.
    Loaded 'E:\WINNT\system32\oleaut32.dll', no matching symbolic information found.
    Loaded 'E:\Program Files\Logitech\MouseWare\system\LgWndHk.dll', no matching symbolic information found.
    WndProc: hwnd=0x540092, msg = WM_NCCREATE (0x0000, 0x0012F934)
    WndProc: hwnd=0x540092, msg = WM_NCCALCSIZE (0x0000, 0x0012F984)
    WndProc: hwnd=0x540092, msg = WM_CREATE (0x0000, 0x0012F934)
    WndProc: hwnd=0x540092, msg = WM_SIZE (0x0000, 0x00C00116)
    WndProc: hwnd=0x540092, msg = WM_MOVE (0x0000, 0x00160003)
    WndProc: hwnd=0x540092, msg = WM_SETFONT (0x2F0A0A71, 0x00000000)
    WndProc: hwnd=0x540092, msg = WM_INITDIALOG (0x160146, 0x00000000)
    WndProc: hwnd=0xE0512, msg = WM_NCCREATE (0x0000, 0x0012F40C)
    WndProc: hwnd=0xE0512, msg = WM_NCCALCSIZE (0x0000, 0x0012F44C)
    WndProc: hwnd=0xE0512, msg = WM_CREATE (0x0000, 0x0012F40C)
    WndProc: hwnd=0x540092, msg = 0x0055 (0xE0512, 0x00000003)
    WndProc: hwnd=0x540092, msg = 0x0129 (0x0000, 0x00000000)
    WndProc: hwnd=0xE0512, msg = WM_STYLECHANGING (0xFFFFFFEC, 0x0012EFC0)
    WndProc: hwnd=0xE0512, msg = WM_STYLECHANGED (0xFFFFFFEC, 0x0012EFC0)
    WndProc: hwnd=0xE0512, msg = WM_STYLECHANGING (0xFFFFFFF0, 0x0012EFC0)
    WndProc: hwnd=0xE0512, msg = WM_STYLECHANGED (0xFFFFFFF0, 0x0012EFC0)
    WndProc: hwnd=0xE0512, msg = WM_SIZE (0x0000, 0x00000000)
    WndProc: hwnd=0xE0512, msg = WM_MOVE (0x0000, 0x00000000)
    WndProc: hwnd=0xE0512, msg = WM_USER+0x0004 (0x0000, 0x0012F5D0)
    WndProc: hwnd=0x540092, msg = 0x0055 (0xE0512, 0x00000003)
    WndProc: hwnd=0xE0512, msg = WM_USER+0x0004 (0x0000, 0x0012F5D0)
    WndProc: hwnd=0x540092, msg = 0x0055 (0xE0512, 0x00000003)
    WndProc: hwnd=0xE0512, msg = WM_USER+0x0004 (0x0000, 0x0012F5D0)
    WndProc: hwnd=0x540092, msg = 0x0055 (0xE0512, 0x00000003)

  9. #9
    Rédacteur
    Avatar de farscape
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Novembre 2003
    Messages
    9 055
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Novembre 2003
    Messages : 9 055
    Par défaut
    hum ,tu as essayé de virer tous tes points d'arrets et messages ?
    touche ALT+F9 onglet location et messages
    vire tout le contenu.

  10. #10
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    Oui, oui !
    j'ai absolument rien !
    alors je me demande si c'est un bug de Visual ou quoi, auparavant je n'ai jamais eu ceci !

  11. #11
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    je vient de creer une SDI à base de CFormView vierge juste avec le controle Static par défaut ; j'ai le problème aussi en le lançant en mode debug

  12. #12
    Rédacteur
    Avatar de farscape
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Novembre 2003
    Messages
    9 055
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Alpes Maritimes (Provence Alpes Côte d'Azur)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Novembre 2003
    Messages : 9 055
    Par défaut
    a part ça j'ai aucune idée de la chose, tu as vérifé le ALT+F9 en ayant lancé le programme en debug trace ?

  13. #13
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    si j'utilise le petit soft (debugView de sysinternals) mentionné dans la FAQ VCpp : http://c.developpez.com/faq/vc/?page...putDebugString
    en utilisant la fonction API "OutputDebugString" j'obtiens le même résultat en apparence ; le debug d'un tas d'evenement et messages !!!

  14. #14
    Membre confirmé

    Homme Profil pro
    Technicien maintenance
    Inscrit en
    Décembre 2002
    Messages
    216
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Aveyron (Midi Pyrénées)

    Informations professionnelles :
    Activité : Technicien maintenance
    Secteur : Industrie

    Informations forums :
    Inscription : Décembre 2002
    Messages : 216
    Par défaut
    bonjour,

    suite des évenements !

    la fin d'affichage de ma fenètre debug est ceci :
    WndProc: hwnd=0x1300C0, msg = WM_NCDESTROY (0x0000, 0x00000000)
    WndProc: hwnd=0x50158, msg = WM_NCDESTROY (0x0000, 0x00000000)
    WndProc: hwnd=0x1300F0, msg = WM_NCDESTROY (0x0000, 0x00000000)
    CWinThread:umpMessage - Received WM_QUIT.
    The thread 0x464 has exited with code 0 (0x0).
    The program 'F:\projet VCPP\testdebug\Debug\testdebug.exe' has exited with code 0 (0x0).

    donc je me demande si le système n'est pas en train de me debuger CWinThread !!!!!

Discussions similaires

  1. Réponses: 1
    Dernier message: 21/01/2012, 16h35
  2. Réponses: 2
    Dernier message: 10/11/2008, 09h05
  3. Comment afficher les infos en mode debug ?
    Par jppaysan dans le forum Qt
    Réponses: 4
    Dernier message: 28/05/2008, 00h24
  4. Mode debug : afficher les valeurs d'une variable
    Par zenux dans le forum Code::Blocks
    Réponses: 0
    Dernier message: 05/04/2008, 12h44
  5. [Eclipse 3.2] Mode Debug sans ligne verte
    Par nebule dans le forum Eclipse Java
    Réponses: 1
    Dernier message: 17/01/2008, 11h58

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo