General information
Category:
The Mere Mortals .NET Framework
Tim,
I was finally able to attach running of the VS to a debugger after specifying where the MM symbols were.
Here is the call stack, but in short - on line 47 in mmAppBase.cs the _appSettingsMgr is never set, because the Factory property is null. The setting portion of the property never happens (I had a breakpoint on it - line 211 in the same file - and debugger never paused on it).
> OakLeaf.MM2008.Framework.dll!OakLeaf.MM.Main.mmAppBase.AppSettingsMgr.get() Line 47 + 0xc bytes C#
OakLeaf.MM2008.Framework.dll!OakLeaf.MM.Main.mmAppBase.Localize.get() Line 270 + 0x6 bytes C#
OakLeaf.MM2008.WinForms.dll!OakLeaf.MM.Main.Windows.Forms.mmTextHelper.SetText(OakLeaf.MM.Main.Windows.Forms.ImmLocalizeText control = {OakLeaf.MM.Main.Windows.Forms.mmLabel, Text: Default value (string)}, string text = "Default value (string)", object languagePK = null) + 0x4d bytes
OakLeaf.MM2008.WinForms.dll!OakLeaf.MM.Main.Windows.Forms.mmLabel.Text.set(string value = "Default value (string)") + 0x64 bytes
MMBusinessLayerGenerator.dll!MMBusinessLayerGenerator.mmWizardPageSelectData.BindPropertyControls(System.Windows.Forms.TreeNode node = {Text = "middleName"}, System.Collections.Hashtable objectColumns = Count = 20) Line 1833 + 0x3d bytes C#
MMBusinessLayerGenerator.dll!MMBusinessLayerGenerator.mmWizardPageSelectData.ProcessSelectedNode(System.Windows.Forms.TreeNode node = {Text = "middleName"}) Line 2152 + 0x17 bytes C#
MMBusinessLayerGenerator.dll!MMBusinessLayerGenerator.mmWizardPageSelectData.trvTables_AfterSelect(object sender = {OakLeaf.MM.Main.Windows.Forms.mmTreeView, Nodes.Count: 2, Nodes[0]: TreeNode: Tables}, System.Windows.Forms.TreeViewEventArgs e = {System.Windows.Forms.TreeViewEventArgs}) Line 2127 + 0x21 bytes C#
System.Windows.Forms.dll!System.Windows.Forms.TreeView.OnAfterSelect(System.Windows.Forms.TreeViewEventArgs e) + 0x1d bytes
System.Windows.Forms.dll!System.Windows.Forms.TreeView.TvnSelected(System.Windows.Forms.NativeMethods.NMTREEVIEW* nmtv = 0x0012f060) + 0x89 bytes
System.Windows.Forms.dll!System.Windows.Forms.TreeView.WmNotify(ref System.Windows.Forms.Message m) + 0xda bytes
System.Windows.Forms.dll!System.Windows.Forms.TreeView.WndProc(ref System.Windows.Forms.Message m) + 0xf7 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 8270, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes
[Native to Managed Transition]
[Managed to Native Transition]
System.Windows.Forms.dll!System.Windows.Forms.Control.SendMessage(int msg, System.IntPtr wparam, System.IntPtr lparam) + 0x24 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ReflectMessageInternal(System.IntPtr hWnd, ref System.Windows.Forms.Message m = {msg=0x4e (WM_NOTIFY) hwnd=0x60e3a wparam=0x70e74 lparam=0x12f060 result=0x0}) + 0x3b bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WmNotify(ref System.Windows.Forms.Message m = {msg=0x4e (WM_NOTIFY) hwnd=0x60e3a wparam=0x70e74 lparam=0x12f060 result=0x0}) + 0x17 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x4b2 bytes
System.Windows.Forms.dll!System.Windows.Forms.ScrollableControl.WndProc(ref System.Windows.Forms.Message m) + 0x2a bytes
System.Windows.Forms.dll!System.Windows.Forms.ContainerControl.WndProc(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.UserControl.WndProc(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 78, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes
[Native to Managed Transition]
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DefWndProc(ref System.Windows.Forms.Message m = {msg=0x201 (WM_LBUTTONDOWN) hwnd=0x70e74 wparam=0x1 lparam=0x990067 result=0x0}) + 0x93 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.DefWndProc(ref System.Windows.Forms.Message m) + 0xc bytes
System.Windows.Forms.dll!System.Windows.Forms.TreeView.WmMouseDown(ref System.Windows.Forms.Message m, System.Windows.Forms.MouseButtons button, int clicks) + 0x73 bytes
System.Windows.Forms.dll!System.Windows.Forms.TreeView.WndProc(ref System.Windows.Forms.Message m) + 0x689 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.OnMessage(ref System.Windows.Forms.Message m) + 0x10 bytes
System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x31 bytes
System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 513, System.IntPtr wparam, System.IntPtr lparam) + 0x57 bytes
[Native to Managed Transition]
-Rich
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only