Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building Python Real time Applications with Storm

You're reading from   Building Python Real time Applications with Storm Learn to process massive real-time data streams using Storm and Python—no Java required!

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781784392857
Length 122 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Debugging


Until now, we've debugged topologies using log messages and automated tests. These techniques are very powerful, but sometimes it may be necessary to debug directly inside the Storm environment. For example, the problem may:

  • Depend on running as a particular user

  • Occur only with real data

  • Occur only when there are many instances of the component running in parallel

This section introduces a tool for debugging inside Storm.

Winpdb is a portable, GUI-based debugger for Python, with support for embedded debugging. If you're not familiar with the term "embedded debugging", note this: it simply means that Winpdb can attach to a program that was launched in some other way and not necessarily from WinDbg or your command shell. For this reason, it is a good fit for debugging Petrel components that run in Storm.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image