Since upgrading to 4.7 from 4.6, when I debug, Visual studio crashes. Found out , thanks to Andrew helping me that it was due to a large amount of used memory (3,000k+ MB) . I tried upgrading my project to 4.7 (and 4.7.1) and these errors come up (image).
Oh of course! I guess I didn’t look at since no errors/warnings came up.
tried to give you a txt file but it won’t let me so here’s basically what it says:
'UE4Editor.exe' (Win32): Loaded 'C:\Program Files\Epic Games\4.7\Engine\Binaries\Win64\UE4Editor.exe'. Symbols loaded.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\apphelp.dll'. Cannot find or open the PDB file.
SHIMVIEW: ShimInfo(Complete)
'UE4Editor.exe' (Win32): Loaded 'C:\Program Files\Epic Games\4.7\Engine\Binaries\Win64\UE4Editor-UnrealEd.dll'. Symbols loaded.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\msvcr120.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'UE4Editor.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
thanks for the reply, is there anything that can be done ? I built it 3 different times to be upgraded. 4.7 twice and 4.7.1 once . I guess the main issue is that the memory usage is so great that It crashes before I can’t actually “debug” anything. (I have 8 gigs or ram)
Those errors can be ignored, a PDB is a file used by visual studio to assist in debugging. Those errors just tell you that Microsoft doesn’t provide symbols to debug those system libraries. The pop up you’re getting is unrelated, but definitely a big problem. It means your project (TStest) did not get recompiled with your new code.
I would be surprised if the system allocator was failing to give VS more memory! What makes you say that’s the cause of the crash? Is there an error message?
If you’re crashing when debugging you could try deleting entries from your breakpoints and watch window, I’ve had crashes due to VS being unhappy with old values in there.
This is intriguing - it’s reporting that it’s deleted a hot-reload dll. Could you double check that there are no UE4 processes (games/editor) running when you initiate a build for the time-being? It’s possible that UBT (Unreal Build Tool) is finding a stale process and doing a build for hot-reload rather than a full build.
Another thing to try (bak them up first): try deleting all the non-sln files that sit next to your Visual Studio solution file (*.sdf, *.opensdf, *.suo). Once you’ve done that have a go at regenerating the solution as well to make sure you’re working with a fresh solution file (back that up as well beforehand).
yeah I made sure there wasn’t anything else running when I did it and tried again just in case. I’ve also built other 4.6 projects to 4.7 as a test and they are not having any issues like my main project.
Where would my Visual Studio solution be? Are you talking about the one under the unreal projects folder?
Couple things jump out; have you tried blowing away your ./Binaries and ./DerivedDataCache directories in the main project directory? We find that our project gets out of sync quickly with the state of VS and deleting at least the binaries directory (with UE closed) then relaunching will get a clean build done.
Also, I can’t tell if you tried deleting your .sln and rebuilding the visual studio project from Explorer. That’s another easy check cables kind of thing.
(also, you can zip the project and put it in Dropbox; right click to get a sharable link and send it to anyone.) Probably wouldn’t want to post it here though.
You can just right click on the .uproject file and select the option to “Generate Visual Studio Files” - make sure to delete the existing .sln first (to comply with Dans suggestions above.)