Sitemap

Project notes to self.

2 min readMar 25, 2021

--

Blogging the flow of time.

Debugging issues.
1. A functionality to share common console to mFile and descendents.
2. Move shared UI controls to RunControlUiDef
3. Add functions for main form (app) to share the console.
4. Fix thread mutex errors and flaky code by only doing this in the CalculationTaskDef base classs.
5. Verify standard object detection in root class StdDef.

6. Experiment with constructors and class functions.
7. Clean up interface definitions and implement them in StdBaseRunFileConsoleDef (st) and mForm.
Currently:
class StdBaseRunFileConsoleDef : PickConsole, ImTrace, iAppStd, ImClassFeatures, IDisposable
class mForm : Form, iAppStd, ImClassFeatures, IDisposable
class ShortcutUtilsFormDef : mForm, iDbTask, iAppStdStateView, iAppStd, ImClassFeatures, IDisposable
iAppStd had turned into a bit of a misnomer.

8. Fix error where mFile (new) internal thread processing (ie Populate) doesn’t call UI thread.
9. Verify and experiment with INVOKE (status change and data event) handling of mFile’s parent form (UI).
10. Fix infinite loop on table name cause by database meta-data verification and loading.
11. Check proper use of base classes.
12. Replace overloads with new for the various Initialize() functions in the hierarchy.
13. DbTaskDef object instance is not being set in the ThreadDef instance.
14. Debug data type detection in data event processing.
15. Create copyright © document referencing Axion Computer Systems/Sw and MacroDM.

Get David G. Horsman’s stories in your inbox

Join Medium for free to get updates from this writer.

Currently outstanding
1. Populate still fails but the delegate calls to the UI thread and data types is correct if buggy.
2. Verify there are no premature releases of the mutex and Status Change works correctly.
…
03/25 Thursday, upon waking up. Hmmm. Did I ever estimate this? Not “everything” but releasable and maintainable?
The best I recall “this would take months” and I had to move on to other technology. Regardless, I am over a week past my estimate (for the framework) made in Dec. It’s a milestone in that the framework and threading work with 2 outstanding bugs.

Last Test:

#1 Populate aborts upon finding the Schema both improperly defined (in the schema)
and coded wrong as well. 2 bugs. NP.
I can’t test me lovely buttons until that is addressed.
I already can see on spot where the UI is cross threaded. NP.
(repeat) There a few optimizations (selection of base class) that should maybe be done later.

I did make a noticeable coding error when creating the state machine UI stuff.
I mangled or removed tasks updating a simple datagridview. Oops.
I am adding a bool to indicate if the state machine is used. Not Np. 1 day or so.

School in 15. End.

Press enter or click to view image in full size
(Figure 1 online) The messaging console and my attack surface ??.
One other bug shows in the (redacted) tray. The task thread opened it’s own console.

--

--