Information générale
Catégorie:
Code, syntaxe and commandes
Titre:
Equivalent To VFP Debugger?
If one of my VFP apps crashes in the dev environment, I get the option to fire up the Debugger.
However, my ASP.NET app is just giving me an error page, part of which says:
StartIndex cannot be less than zero. Parameter name: startIndex
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: StartIndex cannot be less than zero. Parameter name: startIndex
Source Error:
Line 138: // Extract the dates from the end (dd-mmm-yy).
Line 139: s1 = s1.Substring(s1.Length - 9);
Line 140: s2 = s2.Substring(s2.Length - 9);
Line 141:
Line 142: // Convert these dates into VFP DTOS() format (CCYYMMDD).
and follows this with a call stack. However, it doesn't tell me what the current values of variables s1 and s2 are. Since this is somewhere in the middle of parsing an ArrayList, they could be anything. How do I find out what they are?
TIA, Kevin
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement