rvkennedy,
@rvkennedy@mastodon.social avatar

@c0de517e Yes you're quite right. Interestingly, breakpoints can be set e.g. in main.cpp on any line that produces runtime code, such as a declaration that launches a constructor. But how to stop at the first code.. Looking up my callstack (and this will be compiler- and runtime-dependent) I see a fn called _initterm() which loops through initializer functions calling them in turn. This seems to be where the globals are created. You can break in _initterm, I don't know if that's the first.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • magazineikmin
  • everett
  • InstantRegret
  • rosin
  • Youngstown
  • slotface
  • love
  • khanakhh
  • kavyap
  • tacticalgear
  • GTA5RPClips
  • thenastyranch
  • modclub
  • megavids
  • mdbf
  • normalnudes
  • Durango
  • ethstaker
  • osvaldo12
  • cubers
  • ngwrru68w68
  • tester
  • anitta
  • cisconetworking
  • Leos
  • provamag3
  • JUstTest
  • All magazines