Closed DanielO closed 10 months ago
I see reason - FlashProgrammerApp::OnInit deliberately ignores the OnInit() failure. The comment says 'Return true here as we want OnRun() to execute' but that doesn't explain why it wants to do that..
I have no idea why I did that in OnInit(). Fixed so it quits on error and added "help" as valid parameter so it doesn't log error for "-help"
No further comments so closing
Hi, I have a USBDM connected to a HCS12, if I run the FlashProgrammer with -h to get help it prints the usage but then segfaults. Running lldb on it shows it trying to access bdmInterface but it is null:
I think this happens because wx parses the command line but does not call parseCommandLine because it considers -h an invalid option, so those are never set as the code expects.