Problem
In the Database Compiler, the Create debug information is not shown.
Cause
The system user has not been assigned the Allows local debug assemblies to be created program function (Common_CompileForDebug) though their permissions groups.
Solution
In the Designer, assign the program function to a custom permissions group and add the system user to this permissions group. For more information about controlling conditions with program functions, see the One Identity Manager Authorization and Authentication Guide.
Problem
The Debug menu is not shown in the Object Browser.
Possible cause
-
Visual Studio is not installed with the required options.
-
The assemblies do not contain debug information.
Possible solutions
- Check your Visual Studio installation on the local workstation. For more information, see Extended debugging in the Object Browser.
- Check the database connection. The debug assemblies always belong to a fixed database. If another database connection is selected, the debug information is not longer available.
- Check whether new assemblies have been loaded from the database or not. The date of DLL and PDB files must be the same.
- Recompile the assemblies with debug information, if necessary. For more information, see Creating local debug assemblies.
Problem
Breakpoints are shown as disabled in Visual Studio.
Cause
Breakpoints are shown as disabled if the assembly with the function to be debugged is yet not loaded into memory. For example, the assemblies for generating processes are not loaded into the application until the point of generation. From then on the breakpoint is enabled and you can jump to it.
Problem
Breakpoints in Visual Studio are always shown as disabled and you cannot jump to them.
Possible cause
-
The Object Browser still has the wrong assemblies loaded.
-
The Object Browser could not find debug information for the assemblies.
Possible solution
If Visual Studio is connected the Object Browser, switch to Visual Studio and open the Debug | Windows | Modules. Here you will find a list of all the modules that are loaded and additional information.