How can i debug the engine itself on visual studio 2022

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By quangcrazymen

So in the last couple of days i’ve been struggling to debug the engine using visual studio.
The debugger breakpoint is hollowed out deal to the fact that visual studio cant find the symbol file (.pdb). When i choose template_debug build option, VS output 2 other files(.exp, .lib) instead of .pdb one. Did anyone stumble upon this problem. I’m looking for suggestion. Thanks for reading.

:bust_in_silhouette: Reply From: GonziHere

I’ve just built my engine like this. Note thedebug_symbols flag, which generated .exe with an accompanying .pdb file :slight_smile:

scons platform=windows target=editor debug_symbols=true -j16

BTW: I’ve found it by looking at SConstruct file.

You are my savior, it worked, thank you so much.

quangcrazymen | 2023-03-26 23:26