How-to: Debugging CodeSmith Generator on Microsoft Windows 7
We have updated the Tips & Tricks: Debugging CodeSmith Generator with the changes needed to debug CodeSmith Generator on Microsoft Windows 7.
We have updated the Tips & Tricks: Debugging CodeSmith Generator with the changes needed to debug CodeSmith Generator on Microsoft Windows 7.
Here is the quick overview of what you need to-do to enable debugging on a Microsoft Windows 7 machine.
- Update the Just-In-Time debugger setting
DbgJITDebugLaunchSetting
. The setting is found in the registry atHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework
. - Set the value of
DbgJITDebugLaunchSetting
to2
. - If you are using a 64bit operating system then you must also set the same
key
DbgJITDebugLaunchSetting
in this folderHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework
to2
. - If you run into any issues try running CodeSmith Generator Studio and Visual Studio as an administrator.
Now when CodeSmith Generator enters a break point you will see something like this:
Click Yes, Debug CodeSmithStudio
to continue debugging.
Share this post
Twitter
Facebook
Reddit
LinkedIn
Email