CW 11.1 Error - Error initializing Debug Database.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW 11.1 Error - Error initializing Debug Database.

Jump to solution
2,032 Views
kaspt
Contributor II

When opening a new empty workspace Code warrior dumps the error:

Error initializing Debug Database.

Could not load debug database. This is indication of an installation or configuration problem. Please contact customer support.

CodeWarrior for MCU  Version: 11.1  Build Id:181224

There was allready a similar issue with a previes version. 

CW 10.5 Error - "Debug Database Initialization" - NXP Community 

But there is no solution that works for me. 

This present’s me from debugging and flashing applications. Diagnostic report attached. 

0 Kudos
Reply
1 Solution
1,974 Views
kaspt
Contributor II

I installed code warrior under a different path (not the default one) now it works.

View solution in original post

0 Kudos
Reply
2 Replies
2,011 Views
Celeste_Liu
NXP Employee
NXP Employee

Hello @kaspt ,

Thanks for your post. Are you logging on Windows with Administrator right?  Could you please install the CodeWarrior under the default path?

C:\Freescale\CW MCU v11.1

Or you can also try the method in the following post:

Help with the "Debug Database Initialization" message? - NXP Community

Download the "Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)" from Microsoft and repair the package that was installed with CW to see if it works.


Best Regards
Celeste
--------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Mark Correct button. Thank you!
--------------------------------------------------------------------------------------------------------

0 Kudos
Reply
1,975 Views
kaspt
Contributor II

I installed code warrior under a different path (not the default one) now it works.

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2013516%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ECW%2011.1%20Error%20-%20Error%20initializing%20Debug%20Database.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2013516%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhen%20opening%20a%20new%20empty%20workspace%20Code%20warrior%20dumps%20the%20error%3A%3C%2FP%3E%3CP%3EError%20initializing%20Debug%20Database.%3C%2FP%3E%3CP%3ECould%20not%20load%20debug%20database.%20This%20is%20indication%20of%20an%20installation%20or%20configuration%20problem.%20Please%20contact%20customer%20support.%3C%2FP%3E%3CP%3ECodeWarrior%20for%20MCU%20%26nbsp%3BVersion%3A%2011.1%20%26nbsp%3BBuild%20Id%3A181224%3C%2FP%3E%3CP%3EThere%20was%20allready%20a%20similar%20issue%20with%20a%20previes%20version.%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FCodeWarrior-for-MCU%2FCW-10-5-Error-quot-Debug-Database-Initialization-quot%2Fm-p%2F257087%22%20target%3D%22_blank%22%3ECW%2010.5%20Error%20-%20%22Debug%20Database%20Initialization%22%20-%20NXP%20Community%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBut%20there%20is%20no%20solution%20that%20works%20for%20me.%26nbsp%3B%3C%2FP%3E%3CP%3EThis%26nbsp%3Bpresent%E2%80%99s%20me%20from%20debugging%20and%20flashing%20applications.%20Diagnostic%20report%20attached.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2017218%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20CW%2011.1%20Error%20-%20Error%20initializing%20Debug%20Database.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2017218%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20installed%20code%20warrior%20under%20a%20different%20path%20(not%20the%20default%20one)%20now%20it%20works.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2013980%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20CW%2011.1%20Error%20-%20Error%20initializing%20Debug%20Database.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2013980%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F243913%22%20target%3D%22_blank%22%3E%40kaspt%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20post.%20Are%20you%20logging%20on%20Windows%20with%20Administrator%20right%3F%20%26nbsp%3BCould%20you%20please%20install%20the%20CodeWarrior%20under%20the%20default%20path%3F%3C%2FP%3E%0A%3CP%3EC%3A%5CFreescale%5CCW%20MCU%20v11.1%3C%2FP%3E%0A%3CP%3EOr%20you%20can%20also%20try%20the%20method%20in%20the%20following%20post%3A%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FCodeWarrior-for-MCU%2FHelp-with-the-quot-Debug-Database-Initialization-quot-message%2Fm-p%2F595042%22%20target%3D%22_blank%22%3EHelp%20with%20the%20%22Debug%20Database%20Initialization%22%20message%3F%20-%20NXP%20Community%3C%2FA%3E%3C%2FP%3E%0A%3CP%3EDownload%20the%20%22Microsoft%20Visual%20C%2B%2B%202008%20SP1%20Redistributable%20Package%20(x86)%22%20from%20Microsoft%20and%20repair%20the%20package%20that%20was%20installed%20with%20CW%20to%20see%20if%20it%20works.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%3CBR%20%2F%3ECeleste%3CBR%20%2F%3E--------------------------------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20Mark%20Correct%20button.%20Thank%20you!%3CBR%20%2F%3E--------------------------------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E