c - Visual Studio is it possible to break when a type is first used? -


i've been handed gigantic code base, written in c, need step through , find feature can reverse engineer , modify it. since code hundreds of thousands of lines long, can imagine process quite slow. have idea how speed along, don't know if possible. have resembles this:

struct a{    /* data */ };  struct b{    a* a;    /* data */ }; /* note , b defined in different files */ 

i want visual studio break when b->a first assigned/modified on arbitrary instance of b. possible in visual studio professional 2012?

you can set breakpoint on constructor type b (or equivalent of constructor in c code). when triggers, can set memory breakpoint on b->a , wait 1 trigger.


Comments

Popular posts from this blog

javascript - Thinglink image not visible until browser resize -

firebird - Error "invalid transaction handle (expecting explicit transaction start)" executing script from Delphi -

mongodb - How to keep track of users making Stripe Payments -