Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ Creator & Designer Forum Discussions

JoBr_1593366
Level 5
Level 5
100 sign-ins 50 questions asked 100 replies posted
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at CyDesigner.Common.Debugger.CyProgramCode.GetDisassemblyText(Boolean includeSource, Boolean includeCode, Boolean showLineNum, Boolean filerBlankLines)
at CyDesigner.Common.Debugger.CyDisassemblyView.DoUpdate(Boolean refreshTxt)
at CyDesigner.Common.Debugger.CyDisassemblyView..ctor(CyDesignerFramework fmk, CyBackendWrapper backendWrapper, CyBreakpointMenu menu)
at CyDesigner.Common.Debugger.CyInterfaceMgr.OpenDisassemblyWindowCommand(Object sender, CyCommandClickedEventArgs args)
at CyDesigner.Common.Debugger.CyInterfaceMgr.ShowDisassembly(UInt64 address)
at CyDesigner.Common.Debugger.CyInterfaceMgr.HandleDebugStateChanged(Object sender, CyDebugStateEventArgs args)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4069.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
psoc_creator
Assembly Version: 4.4.0.80
Win32 Version:
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/psoc_creator.exe
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4110.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
cydevicedb
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cydevicedb.DLL
----------------------------------------
cycmbase
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cycmbase.DLL
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.4042.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CyFramework
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/CyFramework.DLL
----------------------------------------
cygde
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cygde.DLL
----------------------------------------
CyPrjMgmt
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/CyPrjMgmt.DLL
----------------------------------------
cys3db
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cys3db.DLL
----------------------------------------
cygdegfxlib
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cygdegfxlib.DLL
----------------------------------------
cydebugger
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cydebugger.DLL
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
UIFramework.Product6.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/UIFramework.Product6.WinForms.DLL
----------------------------------------
UIFramework.Product2.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/UIFramework.Product2.WinForms.DLL
----------------------------------------
UIFramework.Product4.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/UIFramework.Product4.WinForms.DLL
----------------------------------------
UIFramework.Product5.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/UIFramework.Product5.WinForms.DLL
----------------------------------------
CyShared
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/CyShared.DLL
----------------------------------------
cyautomation
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyautomation.DLL
----------------------------------------
System.Management
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
----------------------------------------
System.Web.Services
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
----------------------------------------
jwrf2hio
Assembly Version: 4.4.0.80
Win32 Version: 4.8.4001.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
cydsextensions
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cydsextensions.DLL
----------------------------------------
cygnuarmshipped
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/import/gnu/arm/cygnuarmshipped.dll
----------------------------------------
cykeilpk51
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/import/keil/pk51/cykeilpk51.dll
----------------------------------------
cyeditors
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyeditors.DLL
----------------------------------------
UIFramework.Product6.Addons.DotNet.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/UIFramework.Product6.Addons.DotNet.WinForms.DLL
----------------------------------------
cytransport
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cytransport.DLL
----------------------------------------
cypsocdebugger
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cypsocdebugger.EXE
----------------------------------------
cygdbdebugger
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cygdbdebugger.DLL
----------------------------------------
cyarmdebugger
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyarmdebugger.DLL
----------------------------------------
cyppdeviceio
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyppdeviceio.DLL
----------------------------------------
cywin32deviceio
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cywin32deviceio.DLL
----------------------------------------
bootloader_host
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/bootloader_host.EXE
----------------------------------------
cydsfit
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cydsfit.EXE
----------------------------------------
cyfitter_fm
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyfitter_fm.EXE
----------------------------------------
cyfitlib
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyfitlib.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ICSharpCode.SharpZipLib
Assembly Version: 0.85.4.369
Win32 Version: 0.85.4.369
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/ICSharpCode.SharpZipLib.DLL
----------------------------------------
System.Drawing.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.Design.dll
----------------------------------------
System.Design
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Design/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
UIFramework.Product1.WinForms
Assembly Version: 16.1.330.0
Win32 Version: 16.1.330.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/UIFramework.Product1.WinForms.DLL
----------------------------------------
cyhextool
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyhextool.EXE
----------------------------------------
cykeilspawner
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cykeilspawner.EXE
----------------------------------------
cytunerextensions
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cytunerextensions.DLL
----------------------------------------
cyclangwrapper
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyclangwrapper.DLL
----------------------------------------
PP_Accessor
Assembly Version: 3.24.1.2235
Win32 Version: 3.24.1.2235
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/PP_Accessor.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
cyp3fit
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cyp3fit.EXE
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
PP_COM_Wrapper
Assembly Version: 3.29.1.4659
Win32 Version: 3.29.1.4659
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/Programmer/PP_COM_Wrapper.dll
----------------------------------------
PP_PC_Wrapper
Assembly Version: 3.29.1.4659
Win32 Version: 3.29.1.4659
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/Programmer/PP_PC_Wrapper.dll
----------------------------------------
ProgrammerLibrary
Assembly Version: 3.29.1.4659
Win32 Version: 3.29.1.4659
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/Programmer/ProgrammerLibrary.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.8.3761.0 built by: NET48REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
CyComponentLibrary_3eb8b81cae70cb60fec2daa5c94c8ac773c989f9b1e3833ec0d8afda22bbf0fc
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/psoc/content/CyComponentLibrary/CyComponentLibrary.cylib/CyComponentLibrary.dll
----------------------------------------
cyprimitives_c21f64386661f9d4b3403701ac7745b777acb90566608e886bf03dcef3c3decb
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/psoc/content/CyPrimitives/CyPrimitives.cylib/CyPrimitives.dll
----------------------------------------
Application_0e9d92a5d9b4f0382f3bbf3f777aa5b35776d48862ef3f2ccf0b091fe1340e32
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/Jonathan/AppData/Local/Cypress%20Semiconductor/PSoC%20Creator/4.4/customizer_cache/Application_0e9d92a5d9b4f0382f3bbf3f777aa5b35776d48862ef3f2ccf0b091fe1340e32.dll
----------------------------------------
iAP2_43e971eda468706942663651de8ab59f26901b5c15276963eb7f2dfe24c37e16
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/Jonathan/AppData/Local/Cypress%20Semiconductor/PSoC%20Creator/4.4/customizer_cache/iAP2_43e971eda468706942663651de8ab59f26901b5c15276963eb7f2dfe24c37e16.dll
----------------------------------------
Downloads ( 4.4)_820318375d01d3e0df21b4ace844f68d7c3727f69edab2ef3d3e2b3226b03b61
Assembly Version: 0.0.0.0
Win32 Version: 0.0.0.0
CodeBase: file:///C:/Users/Jonathan/AppData/Local/Cypress%20Semiconductor/PSoC%20Creator/4.4/customizer_cache/Downloads%20(%204.4)_820318375d01d3e0df21b4ace844f68d7c3727f69edab2ef3d3e2b3226b03b61.dll
----------------------------------------
cydstoolkit
Assembly Version: 4.4.0.80
Win32 Version: 4.4.0.80
CodeBase: file:///C:/Program%20Files%20(x86)/Cypress/PSoC%20Creator/4.4/PSoC%20Creator/bin/cydstoolkit.DLL
----------------------------------------

...
0 Likes
1 Solution
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello @JoBr_1593366 ,

Please ensure that you don't have any firewall or visual studio software running in the background. My guess is there is something that could be blocking the gdb/server connection that gets spawned during debug causing the crash to occur. 

If the issue still persists, I would suggest reinstalling Creator. It could happen that some internal files may have gotten corrupted due to some reason.

Let me know your observations.

Regards,
Dheeraj

View solution in original post

0 Likes
1 Reply
DheerajK_81
Moderator
Moderator
Moderator
First comment on KBA First comment on blog 5 questions asked

Hello @JoBr_1593366 ,

Please ensure that you don't have any firewall or visual studio software running in the background. My guess is there is something that could be blocking the gdb/server connection that gets spawned during debug causing the crash to occur. 

If the issue still persists, I would suggest reinstalling Creator. It could happen that some internal files may have gotten corrupted due to some reason.

Let me know your observations.

Regards,
Dheeraj

0 Likes