Options

Version 20 debugging, always breaking on UserPreference.modify

garmoogarmoo Member Posts: 17
Since upgrading to version 20, every time I run the debugger from Visual Studio it breaks immediately on standard code in the Rolecenter Selector Mgt. codeunit, 1485, shown below
procedure SetShowStateFromUserPreference(UserName: Code[50]; State: Boolean)
    var
        UserPreference: Record "User Preference";
    begin
        if UserPreference.Get(UserName, GetUserPreferenceCode) then begin
            UserPreference.SetUserSelection(State);
            UserPreference.Modify();
            exit;
        end;

I don't have any breakpoints on here and have tested it on several VMs, Cronus and Bespoke databases. It's driving me mad! Has anybody else come across this? Is there a work around? It's almost as if there's a hidden breakpoint set that I can't disable.
Sign In or Register to comment.