Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Compiling, Linking, Debugging of your packages » Are there any plans supporting Vector/Array/Map::operator[] during debug?
Re: Are there any plans supporting Vector/Array/Map::operator[] during debug? [message #21213 is a reply to message #21206] Sat, 09 May 2009 22:09 Go to previous messageGo to previous message
Mindtraveller is currently offline  Mindtraveller
Messages: 917
Registered: August 2007
Location: Russia, Moscow rgn.
Experienced Contributor

As far as I know C++ Builder authors solved this problem by actual execution of child code in child process' address space (set IP to actual function, execute, and get the result, restore IP).
They realized that executing such a code could (in some cases) lead to changing internal program state. But in most cases calls like myvector[i] didn`t change anything important. To make their solution more flexible they even had Configuration checkbox like "[x] Allow side-effects" which was checked by default.
The rule is: when I type something into watches, I really want to know what it is and I implicitly agree with any side effects.
It seems good solution to me: in most cases it is more important to have all visible during debug, and it make no problem. But if it is crucial, one may disable this any time he wants.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Project isn't portable from windows to linux
Next Topic: how to solve? (add compiler option -> solved)
Goto Forum:
  


Current Time: Thu May 16 06:55:27 CEST 2024

Total time taken to generate the page: 0.02025 seconds