We follow debugging with writing debug logs in the file to find any bugs in vc++ and visual studio.
Is there any other better way doing the same.

Thanking in advance

With Visual Studio there most definitely are better ways. Here's a help page that discusses and can help you learn those ways.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.