Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本上我想做的是在我的程序中,如果在 Visual Express IDE 中启用了调试,我希望能够启用详细调试。我将使用定义语句,但如何检查 IDE 中是否启用了调试
在代码中:
#if DEBUG // do something #endif