Dans Foxpro comment obtenir Appel d'info pile pour l'enregistrement. (Ne pas utiliser l'interface de débogage, mais dans le code lors de l'exécution)En Foxpro Comment arriver Appel d'info pile pour la connexion
0
A
Répondre
3
Vous pouvez utiliser la fonction ASTACKINFO() à créer un tableau rempli avec la pile d'appels.
1
utilisation ASTACKINFO comme MikeReigler dit alors quelque chose comme ceci:
cStack = ""
nStackCount = astackinfo(arrStackInfo)
for nCount = nStackCount to 1 step -1
cStack = cStack + "Level " + transform(arrStackInfo(nCount, 1)) + chr(13)
cStack = cStack + iif(not empty(arrStackInfo(nCount, 2)), ;
"Filename: " + transform(arrStackInfo(nCount, 2)) + chr(13) , "")
cStack = cStack + iif(not empty(arrStackInfo(nCount, 3)), ;
"Module/Object name: " + transform(arrStackInfo(nCount, 3)) + chr(13) , "")
cStack = cStack + iif(not empty(arrStackInfo(nCount, 4)), ;
"Module/Object filename: " + transform(arrStackInfo(nCount, 4)) + chr(13), "")
cStack = cStack + iif(not empty(arrStackInfo(nCount, 5)), ;
"Line # : " + transform(arrStackInfo(nCount, 5), "999999") + chr(13), "")
cStack = cStack + iif(not empty(arrStackInfo(nCount, 6)), ;
"Code: " + transform(arrStackInfo(nCount, 6)) + chr(13), "")
cStack = cStack + chr(13)
next
Questions connexes
- 1. Comment arriver à en-tête
- 2. chaîne de connexion visuelle foxpro
- 3. comment cela peut-il arriver?
- 4. Comment vider la table foxpro db?
- 5. Appel d'un rapport FoxPro à partir de .Net
- 6. Marquage vertical défilant pour foxpro
- 7. Comment faire un appel socket non bloquant en C# pour déterminer l'état de la connexion?
- 8. corruption de pile étrange en raison d'un appel dll
- 9. comment ouvrir .d01 fichier foxpro
- 10. Google maps api - insérer "Comment arriver d'ici, ici" en superposition?
- 11. Comment faire pour vérifier la pile d'appel
- 12. Appel de pile dans la gestion des exceptions
- 13. Comment intégrer Visual FoxPro w/MySQL pour le site eCommerce?
- 14. Requête SQL Foxpro pour> 24 critères
- 15. attaquer la pile
- 16. Taille de la pile récursive
- 17. Connexion au débordement de pile avec cURL
- 18. Fichiers FoxPro fxp
- 19. FoxPro -> MySQL
- 20. Comment lire FoxPro Memo avec PHP?
- 21. php ADODB appel mysql_options() avant la connexion à MySQL
- 22. Réglage des données FoxPro
- 23. GCC - Comment réaligner la pile?
- 24. Comment obtenir la pile de pile dans un appareil mobile?
- 25. Comment obtenir l'objet en cours d'exécution pour une pile?
- 26. COUNT, condition foxpro
- 27. PROLOG - Comment implémenter la pile?
- 28. ghci affichant la pile d'exécution
- 29. arriver à poster google map gdownloadurl
- 30. WinForms to WPF - Comment y arriver à partir d'ici?