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: Other Features Wishlist and/or Bugs » Bug (?) in ide\Debuggers\Exp.cpp
Re: Bug (?) in ide\Debuggers\Exp.cpp [message #3397 is a reply to message #3394] Tue, 23 May 2006 14:00 Go to previous messageGo to previous message
mr_ped is currently offline  mr_ped
Messages: 826
Registered: November 2005
Location: Czech Republic - Praha
Experienced Contributor
And changing the code to:
Pdb::Val Pdb::Compute(Pdb::Val v1, Pdb::Val v2, int oper)
{
	if(v1.ref || v1.array) {

...

	if(v2.ref || v2.array) {

...


does help in the debugger to allow me to use in Watches things like
data[2] upon data array.
Also works for arrays with elements larger than single byte, everything as expected.

@Mirek: any idea why the above mentioned modification od TheIDE may break something?
I've been thinking about it for a while, and I don't see any potentional harm by changing Pdb::Compute to work with arrays like with pointers...
IMHO working with them in any other way has no purpose, but you are the one to judge this.

If the change makes sense, add it to next dev realease.

Also I think some similar code is sitting somewhere in Assist, which is inhibiting it to work correctly with constructions like
Vector<byte> array_of_vectors[20];

(after array_of_vectors[0]. the Assist is lost and does not offer Vector<T> methods)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Automatic file encoding
Next Topic: Possible bug
Goto Forum:
  


Current Time: Sun Aug 17 19:52:33 CEST 2025

Total time taken to generate the page: 0.04977 seconds