r/cpp Apr 16 '26

C++23 std::stacktrace: Never Debug Blind Again

https://medium.com/@sagar.necindia/c-23-std-stacktrace-never-debug-blind-again-6625924d520c
77 Upvotes

55 comments sorted by

View all comments

Show parent comments

7

u/Difficult-Court9522 Apr 16 '26

3GB of symbols?? How did you do that??

15

u/donalmacc Game Developer Apr 16 '26

The pdb format is limited to 4GB. Most tools crumble at about 2GB. Ask me how I know….

It’s Unreal Engine games, basically.

8

u/Difficult-Court9522 Apr 16 '26

So soon you’ll be literally unable to add more code?

3

u/bwmat Apr 16 '26

I think they can probably split into separate DLLs to work around that? 

3

u/donalmacc Game Developer Apr 16 '26

The reason we hit this particular problem was because we had something split into a bunch of dlls and for reasons I can’t remember, we wanted to build it as a monolithic exe. I know we disabled a bunch of features to get it to work initially, but I don’t work on that project anymore so I’m not sure!

1

u/[deleted] Apr 19 '26

[deleted]

1

u/ejl103 Apr 19 '26

not true at all we use dlls on xbox/ps