UIPath is executing message boxes that don't exist in the code

I had message boxes to help troubleshoot some errors. I deleted the message boxes, and they do not display in the design panel, but they still exist in the xaml files. Using CTRL-F to find a message box returns nothing. What is going on here?

image

Hi @rgontarek1

It’s possible that the changes you made in the design panel (deleting the message boxes) were not synchronized or saved correctly in the XAML files. This can happen if there was a disconnection or delay between the design panel and the underlying XAML files. Try saving your project and ensure that the changes are reflected in the XAML files.

Thanks!!

@rgontarek1

Welcome to the community

Close the project and reopen and again and check mostly it should be fixed

Cheers

I tried that first. Closed everything and re-loaded it. Now it’s executing code in debug mode that’s clearly been disabled.

In ‘run’ mode, it’s executing as expected. In debug, it’s like it’s running a completely separate set of code. Is that even possible?

@rgontarek1

I don’t think that would be possible…can you say what do you mean by complete different code?

Is it like executing what is removed or running differently?

cheers

Yes, it’s ignoring changes made in Studio to the code. Items deleted continue to run in debug mode, and items commented out continue to run in debug mode.

In ‘run’ mode, it executes correctly. I’m looking at the logs it it’s clearly executing code that doesn’t show up on the design tab in Studio, but clearly is still in the xmal file.

@rgontarek1

can you share the xaml here?

I tried but could not replicate the issue

cheers