JMass
Posts: 2153
Joined: 6/3/2006 From: Italy Status: offline
|
I found another bug working on one my scenario, ATG crashes when I scroll down the map or I resize it: ----------------------------------------------------------------------------------------------- Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra sono riportate in fondo al messaggio. ************** Testo dell'eccezione ************** System.IndexOutOfRangeException: Indice oltre i limiti della matrice. in WindowsApplication1.CustomBitmapClass.DrawUnit(Int32 nr, Boolean forcehighlight, Graphics toG, Int32 tx, Int32 ty, Boolean ShowAttacker, Int32 OverruleHis, Int32 OverrulePower, Int32 OverruleRegime, Boolean FullRecon) in WindowsApplication1.CustomBitmapClass.DrawHex(Int32 cx, Int32 cy, Int32 cmap, Boolean InfoMode, Boolean NoShader, Boolean ispredrawing, Graphics tempg, Int32 tx, Int32 ty, Int32 counteralpha, Int32 Zoom, Boolean UseRegimeColoring, Boolean neverusehistory) in WindowsApplication1.MapPartClass.ShiftUp() in WindowsApplication1.MapWindowClass.HandleKeyPress(Int32 nr) in WindowsApplication1.MapWindowClass.handleTimer() in WindowsApplication1.MainEditScreenClass.HandleTimer() in WindowsApplication1.Form1.Timer1_Tick(Object sender, EventArgs e) in System.Windows.Forms.Timer.OnTick(EventArgs e) in System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Assembly caricati ************** mscorlib Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- WindowsApplication1 Versione assembly: 1.0.4287.26311 Versione Win32: 1.0.4287.26311 Base di codice: file:///C:/Programmi/Giochi/Wargames/Matrix%20Games/Advanced%20Tactics%20Gold/AdvancedTacticsGold.exe ---------------------------------------- System.Windows.Forms Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Drawing Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- Microsoft.VisualBasic Versione assembly: 8.0.0.0 Versione Win32: 8.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll ---------------------------------------- Microsoft.VisualBasic.resources Versione assembly: 8.0.0.0 Versione Win32: 8.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic.resources/8.0.0.0_it_b03f5f7f11d50a3a/Microsoft.VisualBasic.resources.dll ---------------------------------------- mscorlib.resources Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll ---------------------------------------- ICSharpCode.SharpZipLib Versione assembly: 0.84.0.0 Versione Win32: 0.84.0.0 Base di codice: file:///C:/WINDOWS/assembly/GAC/ICSharpCode.SharpZipLib/0.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll ---------------------------------------- irrKlang.NET Versione assembly: 1.3.0.0 Versione Win32: 1, 1, 0, 0 Base di codice: file:///C:/Programmi/Giochi/Wargames/Matrix%20Games/Advanced%20Tactics%20Gold/irrKlang.NET.DLL ---------------------------------------- System.Windows.Forms.resources Versione assembly: 2.0.0.0 Versione Win32: 2.0.50727.3053 (netfxsp.050727-3000) Base di codice: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll ---------------------------------------- ************** Debug JIT ************** Per attivare il debug JIT, è necessario impostare il valore jitDebugging nella sezione system.windows.forms del file di configurazione dell'applicazione o del computer (machine.config). L'applicazione inoltre deve essere compilata con il debug attivato. Ad esempio: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> Quando il debug JIT è attivato, tutte le eccezioni non gestite vengono inviate al debugger JIT registrato nel computer, anziché essere gestite da questa finestra di dialogo.
_____________________________
"Klotzen, nicht Kleckern!"Generaloberst Heinz Wilhelm Guderian Now playing, testing or modding: ATS, CTGW, FoG, LnL HoS, PFE, WWII-Europe Idling: a lot of games...
|