I'm trying to debug my strategies using Visual studio 2022 and for all strategies, Im'unable to set breakpoints, its says breakpoints unreachable (see pictures below)
What I tried:
- ensure that I compile in debug mode
- Re-istall Visual studio 2022 and include .net4.8, 6, 7 and 8
- reinstall Ninjatrader (without wiping everything as I have a big data db that I do not want to loose), I'm with version 8.1.2.1
- tried to follow the VC advice to permit the souce difference without any change
- tried to delete .sln file in custom, delete /bin and /obj without success
- I see when I attach the process, when it worked, it open automatically the file that's already open in NT but not now
- I see that if i change anything in VC (add space for example ) and hear the recompile sound in NT
Any solution for this ?
Thanks
Comment