How to debug without opening assemply view?

Hi

I have this code inside tick event

void UTriggerComponent::TickComponent(float DeltaTime, ELevelTick TickType,
	FActorComponentTickFunction* ThisTickFunction)
{
	Super::TickComponent(DeltaTime, TickType, ThisTickFunction);
	
		
	AActor* Actor = GetAcceptedActor();
	if (Actor == nullptr) return;
		
	if (Actor != nullptr && GrabKeyOn == false)
	{

		UPrimitiveComponent* Component = Cast<UPrimitiveComponent>(Actor->GetRootComponent());

		if (Component != nullptr)
		{
			Component->SetSimulatePhysics(false);
		}
		
		Actor->AttachToComponent(this, FAttachmentTransformRules::KeepWorldTransform);
		
		Mover->SetShouldMove(true);
		
	}
	else
	{
		Mover->SetShouldMove(false);
	}
	
}

This code make the engine to crash and I tried to check GetAcceptedActor() and other calls like SetShouldMove they were working fine. I tried to debug using rider but when the engine crash it open assembly view. Is there a way to see the last line that causes the problem without opening assembly view ?

Thanks

Privacy & Terms