Hi all ,

Dani AI

Generated

Good call, — and is right that a book helps. Below are compact, practical tips for Visual Studio 2005 (C++ focus) you can apply right away; they complement reading without replacing it.

Start-up shortcuts and quick navigation (default keys)
F5 — Start Debugging. Ctrl+F5 — Run without debugging. F9 — Toggle breakpoint. F10 — Step Over. F11 — Step Into. Shift+F11 — Step Out. Ctrl+Shift+B — Build Solution. Ctrl+Tab — cycle open documents. Ctrl+F / Ctrl+Shift+F — Find / Find in Files. Ctrl+G — Go to Line. F12 — Go To Definition (default); Shift+F12 — Find All References. Comment/uncomment: Ctrl+K, Ctrl+C and Ctrl+K, Ctrl+U. If any mapping differs, remap under Tools -> Options -> Environment -> Keyboard.

Debugging workflow and C++ specifics
Always use a Debug configuration with optimizations off so code maps to source. In Project Properties: disable optimization for Debug and generate PDBs so the debugger can show locals and step cleanly. Use conditional breakpoints and hit counts to isolate flaky behaviour; use “When Hit” to log and continue when you don’t want a hard stop. Rely on Autos / Locals / Watch / Call Stack and the Modules window to verify symbols are loaded. For native logging prefer OutputDebugString; for managed code use System.Diagnostics.Debug/Trace.

Helpful flags (project settings)

/Od    ; disable optimization for Debug
/Zi    ; generate Program Database debug info
/DEBUG ; linker: generate debug info

Productivity and next steps
Create a keyboard profile and a few toolbar buttons for your most common actions, record simple macros for repetitive tasks, and use Class View / Object Browser to explore unfamiliar APIs. Use Configuration Manager to avoid mismatched platforms. Combine hands‑on practice with a focused book or MSDN reference (as suggested) and you’ll progress much faster.

Recommended Answers

All 2 Replies

Hi All,

Ignore the 1st thread :(

i have been working with visual studio 2005 for about 3 months
i thought it would be good to start a thread related to it. i know tat i havent used the complete feature of the tool, also i need to know shortcuts for everthing, complete debugging technique, anything related to it. pls lets disucss. this might help any one suing Visual studio 2005.

One tip by every one will help us know the toool better :).

Multiple books have been written on how to use Visual Studio. Don't expect that kind of coverage in a forum thread. In fact, I'd recommend you go out and get one of the books.

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.