How do I get blueprint debugger to actually debug?

Hello. I am new to UE5. I have done tutorials back in the UE4 days, but not started my own project until after downloading UE5.1.1. I created an empty project, created a new level, then placed a constructor blueprint inside it. My goal is to create a simple Rubik’s cube from scratch. I found a sample online & copied that before then experimenting with my own code. The compiler shows a program flow, which is great. But when I run the simulation, the blueprint highlights, showing that the simulation is in progress. However, I see nothing indicating that my breakpoint is reached.

The program just hangs in limbo. Do I need to set up something else? I tried to include video of what I actually did, but new users aren’t allowed to upload. I would like to get debugger working. Print commands at key areas are OK in some instances, but there are loops where I need execution to stop.

Thanks for any help.

I don’t think you can debug construction. Can you try running the code in the event graph?

1 Like

It’s weird, but I had that same notion. It just didn’t seem right though. If memory serves me well (which might not be the case here), MSVC allows debugging construction code, & it makes sense that it should be allowed. I had considered not using a constructor, it just seems counterintuitive.

I will have to try that. I might have some results soon. Thanks.

1 Like

How can you have a break point, there’s nothing running? :slight_smile:

( in the usual sense )

1 Like

Yeah, debugging worked from the event graph. Thanks!

1 Like