Welcome to the Forum for The Airline Project

Hello There, Guest! Login Register


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Just a small thing I discovered today
#1
So here it is, it has never been added to the CrashLog, I discovered it while running in Visual Studio (was debugging the updated Tax Info for the game country by country).
This bug occurs sometimes only, when creating a new game and setting the Competitor airline count (by clicking on it). It's Not a Game-breaking bug, but VS catches it as an exception, so it may slow the game down.

Data:
+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}



StackTrace "   in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.<setPreferedAirport>b__184_1(Airport a) in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:line 433\r\n   

in System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)\r\n   
in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.setPreferedAirport() 
in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:line 433\r\n  
 
in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.set_SelectedAirline(Airline value) 
in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:line 58\r\n  

in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.setOpponents() 
in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:line 424\r\n   

in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.set_UseMajorAirlines(Boolean value)
in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:rline 109" string

HResult -2147467261 int
HelpLink null string
+ InnerException null System.Exception

+ TargetSite {Boolean <setPreferedAirport>b__184_1(TheAirlineProjectV2.Infrastructure.Model.AirportModel.Airport)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}


Hope this is helpful! Smile

Ok, here is an another one, but this seems to be gaebreaking!!!

This is when you select the continents where you want to play (this clears the problem with the slowdowns):

+ Data {System.Collections.ListDictionaryInternal} System.Collections.IDictionary {System.Collections.ListDictionaryInternal}


StackTrace "   in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.<setPreferedAirport>b__184_1(Airport a) in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:line 433\r\n   

in System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)\r\n   in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.setPreferedAirport() in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:line 433\r\n   

in TheAirlineProjectV2.Modules.MainMenu.ViewModels.MainMenuWindowViewModel.set_SelectedAirline(Airline value) in C:\\Users\\Christian\\Documents\\Visual Studio 2017\\Projects\\TheAirlineProjectV2\\TheAirlineProjectV2.Modules.MainMenu\\ViewModels\\MainMenuWindowViewModel.cs:line 58" string


+ TargetSite {Boolean <setPreferedAirport>b__184_1(TheAirlineProjectV2.Infrastructure.Model.AirportModel.Airport)} System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}


HResult -2147467261 int
HelpLink null string
+ InnerException null System.Exception

Both of them happens once out of 10 runs cca.
Reply
#2
the dev needs more help with debugging & troubleshoot while he works on new stuff
Reply
#3
(01-27-2018, 09:46 AM)hei28ssk Wrote: the dev needs more help with debugging & troubleshoot while he works on new stuff

Yeah I know. The only problem is, that olny Pjank has the original .cs files and only he can understand the content of them. I can’t see them as they are compiled into an .exe for us, therefore I can’t try to help him.
Hopefully he can get a look at this as this might be a solution to some performance issues. ?
Reply
#4
I will try to take a look at this and I have fixed a couple of the issues already :-)
Reply
#5
is 10.8 ready yet? i can almost smell it getting cooked
Reply
#6
We promised end of February or early March. ;D
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)