Skip to content

Marius Bancila's Blog

About code. Mostly on C++

  • Home
  • About me
  • Works
  • Privacy Policy

Day: May 14, 2007

Debugging and Exception Handling

August 13, 2013May 14, 2007 by Marius Bancila

Suppose you have the following code: void foo() { throw std::runtime_error(“a foo exception!”); } int main() { foo(); } When running the program, the following window is popped up: When running it in the debugger, a different window is popped up: and the debugger takes you to the line of code that threw the exception. … Read more

Categories C++, Visual Studio Tags C++, debugger, VisualStudio 2 Comments

About me

Find me on:

Archives

May 2007
M T W T F S S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Apr   Jun »

Follow me on Twitter

My Tweets

Recent Posts

  • cppdashboard.dev – The aggregator of what matters in C++ right now
  • The PImpl idiom and the C++26 std::indirect type
  • Improvements to std::format in C++26
  • Multiplying matrices in C++
  • Universally Unique Lexicographically Sortable Identifiers (ULIDs)
  • Time-based Universally Unique Identifiers (UUIDs v7)
  • What is the C++ nth_element algorithm?
  • What’s new in C++26: contracts (part 3)
  • What’s new in C++26 (part 2)
  • What’s new in C++26 (part 1)

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
© 2026 Marius Bancila's Blog • Built with GeneratePress