Cosmos/source2/Users/Orvid/PlugViewer
EdwardNutting_cp bac3f98d56 VS2013 Support
This is relatively stable but no to be considered complete. Currently supported:
1. Installing user/dev kit (as normal)
2. Creating C#/VB/F# projects (latter 2 untested)
3. Debugging a Cosmos project - see limitations list below.

Debugging limitations:
1. Breakpoints sometimes fail to be hit. Only known thing that may help is recompile everything.
2. Specific breakpoint failure case: If you try and place a breakpoint on or after a "while(true)" statement it is extremely unreliable.

Other limitations:
1. VMWare occasionally breaks. If you get "Internal error" messages, or if VS crashes (don't let Windows "fix" it) or if VMWare fails to load properly there is only one known & reliable solution: Re-run the VMWare installer and hit "Repair". No restart required. You won't lose your VMs or settings (AFAI can tell).

If it all breaks, feel free to rant at it ;)
2013-11-06 21:01:49 +00:00
..
Errors Migrated the plug viewer to System.Reflection, also added a TreeView sorter. 2011-08-16 21:14:37 +00:00
Properties
Resources Some more work on the plug viewer. Cleaned up most of the icons, and enabled error & warning checking. 2011-08-16 19:08:53 +00:00
TreeViewNodes Migrated the plug viewer to System.Reflection, also added a TreeView sorter. 2011-08-16 21:14:37 +00:00
Warnings Migrated the plug viewer to System.Reflection, also added a TreeView sorter. 2011-08-16 21:14:37 +00:00
Constants.cs
Log.cs Some more work on the plug viewer. Cleaned up most of the icons, and enabled error & warning checking. 2011-08-16 19:08:53 +00:00
MainForm.cs My plug viewer will now generate a plug template if needed, for any assembly it loads. Also added a Cosmos.Plugs folder in my user folder which contains a set of templates generated by it. Please note, the plugs generated by it currently need manual adjustments before they are usable. Also, that Cosmos.Plugs project in my folder does not compile. 2011-09-19 00:50:33 +00:00
MainForm.Designer.cs Some more work on the plug viewer. Cleaned up most of the icons, and enabled error & warning checking. 2011-08-16 19:08:53 +00:00
MainForm.resx Some more work on the plug viewer. Cleaned up most of the icons, and enabled error & warning checking. 2011-08-16 19:08:53 +00:00
NameBuilder.cs Migrated the plug viewer to System.Reflection, also added a TreeView sorter. 2011-08-16 21:14:37 +00:00
Orvid.sln Added the COM IOGroup, to allow a basic Logger implementation that logs to a Com port. Also added a TestRunner project, which currently includes tests for the logger itself, and tests for the comparison operators for byte, sbyte, ushort, short, uint, int, ulong, long, float, and double. 2011-10-09 21:52:05 +00:00
PlugTemplateDumper.cs My plug viewer will now generate a plug template if needed, for any assembly it loads. Also added a Cosmos.Plugs folder in my user folder which contains a set of templates generated by it. Please note, the plugs generated by it currently need manual adjustments before they are usable. Also, that Cosmos.Plugs project in my folder does not compile. 2011-09-19 00:50:33 +00:00
PlugViewer.csproj VS2013 Support 2013-11-06 21:01:49 +00:00
Program.cs
Readme.txt Some more work on the plug viewer. Cleaned up most of the icons, and enabled error & warning checking. 2011-08-16 19:08:53 +00:00
TestRunner.cs Some more work on the plug viewer. Cleaned up most of the icons, and enabled error & warning checking. 2011-08-16 19:08:53 +00:00
TreeViewSorter.cs Migrated the plug viewer to System.Reflection, also added a TreeView sorter. 2011-08-16 21:14:37 +00:00

~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Debug Definitions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

There are various debug definitions you can enable by defining the constants globally.

#define DebugTreeNodeLoading ~ Enables log messages from the tree node loading.
#define DebugErrors ~ Enables log messages from all errors.
#define DebugWarnings ~ Enables log messages from all warnings. 


The next 2 can be enabled by simply un-commenting the defines in TestRunner.cs,
rather than defining them globally.

#define DebugErrorLoading ~ Enables logging when loading Errors.
#define DebugWarningsLoading ~ Enables logging when loading Warnings.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Notes on Errors ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When creating an error, make sure to set the icon of the method to the error icon.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Notes on Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

When creating a warning, make sure to first check that an error wasn't
already triggered, before setting the icon index to the warning icon.