UE4 Failed Debugging

10290-untitled.png

Hi,

I am having problems with the debugging from visual studio 2013. What I want to try is just to run the third person sample with C++ code. I create the sample project and open the project with visual studio with no error. I am also able to build that project. However, the problems begin with the debugging. I select ‘DebugGame Editor’ option and debug it by starting new instance. It opens the editor and break in my each action. It breaks when I move over an button, click on something, minimize the window, all the time! I also get the errors in the attachment. What is the matter?

  • Current version UE4 4.1

[link text][2]

[Video Link][3]

EDIT - Process video added.

------ SOLUTION ------

I just updated my nvidia driver and it worked very well.

Hi ErayT,

I have made a few attempts to reproduce the issue that you described, but have not been able to do so. Would you be able to provide the exact steps that you follow from first starting the Editor to create your project through to when the issue starts to occur?

If you hit break, where in the code does it stop? In one of your classes or third party class (UE4 or Microsoft)?

I added a video link describing whole process of the issue.

Because I only debug just after I created and built the project, there is no custom class of mine. I really dont know the actual failing part. There is no concrete sign of it for me. I uploaded a video. You can check if you want to see the whole process.

Thanks for the video, that’s incredibly helpful! I notice when it breaks, there is output to the Visual Studio log window that reads:

HEAP[UE4Editor.exe]: HEAP: Free Heap block 4b281c0 modified at 4b28278 after it was freed

That suggests something is corrupting memory. The callstack looks like the debugger has stopped in nvumdshim.dll, which I presume is an Nvidia DLL.

Can you try upgrading your graphics card drivers and see if the problem goes away?

Thank you so much. This solved my problem. Now, I can begin developing games finally :slight_smile: