Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Home » Tip Bank » C++
Language: C++
Expertise: All
Dec 18, 2000

Overcoming Debuggers' Limitations


Many symbolic debuggers limit the length of symbols they can display. For example, the Visual C++ debugger can display strings that contain up to 255 characters. Suppose you have a string that stores a SQL script. Such a script is likely to contain more than 255 characters. However, you cannot examine it because of the aforementioned debugger limitation. To overcome this problem, add explicit printf() or cout calls that display the string on the screen or write it to a log file.
Danny Kalev
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date