This forum is deprecated.
I just finish installing C++ Builder 10.3.2 on a fresh computer.
It seems that, when I compile with the new compiler, I can't see debug information anymore. When I recompile with the old compiler, debug information are present.
Is there anything I can do to correct this issue?
I made a small program to look at the version numbers of Clang and Dinkumware. With a 32-bit Windows build there was ???? at the local variables view and the watches view. A 64-bit build was ok.
YEP, tested 32 bit DEBUG and NOTHING but ??????
Thank you for your responses.
I see I'm not the only one in that case.
I hope I can open a case soon and have a solution.
We should have a hotfix soon that will address this.
I encountered serious problems with using the rethrow instruction with 10.3.1. I reported at QP it but it was difficult to reproduce the problems perhaps because they only appear with a large project. I found 10.2 to be ok. Are you aware of this? Exceptions are a high priority for fixing.
I don't think we are aware. (This is referring to using 'throw' inside a catch statement?) Exception handling has had a few improvements since 10.2 - but it's possible we've broken something. We generally need a sample project... Can you contact Support and work with them to provide something demonstrating the issue, please?
I hope very very soon, this is unworkable...
It happens with local variables, values of global vars are displayed correct.
this hot fix seems to work cc.embarcadero.com/.../30888
The hotfix is here: https://community.idera.com/developer-tools/b/blog/posts/rad-studio-c-and-delphi-toolchain-patch-released
Debugging clang32 still unusable. For example, UnicodeString local variables...
Win10 64 Bit Clang Debug: I can debug local (automatic) and global variables, but not public variables from the this-pointer. The tooltip does not work. Same with F7. Checked all debug-options. Any suggestions? A local pointer to the class sometimes works, but gives me only the whole list, which is long at times. When will a hotfix be available?
Can you provide more info please? Do you see this with all classes in your app, or just some? Is there a code snippet you can add to a QP report that reproduces it, please?
thanks for the quick reply.
Here is what I found. Hope it is useful.
Say you want to debug the constructor of MyClass or MyFunc(). You want to use the toolptip to check variables. But you can’t, if you have a pointer to a vcl-component e.g. TspeedButton (which is never used in the constructor) declared in the MyClass - header file. Comment it out and tooltips work. Same with TComboBox* and TForm*. But void*, int* and MyClass* -pointers work without problems.
Independently (?) F7 (single instruction, here jumping into a function) never works, unless there is a breakpoint in that function. But then it jumps right to the breakpoint, not starting with the first line. So F7 works like F8 line by line.
int MyArray; //size doesn‘t seem to matter
TSpeedButton* sp; //only pointers to vcl-components make problems. If it is in, tooltips to variables don’t
// work anymore. Comment it out and tooltips work. Same with TComboBox* and TForm*.
//But void*, int* and MyClass* -pointers work.
void MyFunc(int v1);
Var1 = 1; //here tooltips work only without the unused TSpeedButton * in the class-declaration
Var2 = 2; ; //here tooltips work only without the unused TSpeedButton * in the class-declaration
int i = 0; //with these automatic vars the tooltip always works
int j = 1; //with these automatic vars the tooltip always works
MyArray =Var2; //same as Var1/Var2
void MyClass::MyFunc(int v1)
Var2=Var1 * 3;
MyClass* mC = new MyClass(); //F7 does not work (does not jump to the first line of the constructor)
mC-> MyFunc(mC->Var1); //F7 does not work (does not jump to the first line of MyFunc)
int test = mC->Var1; //here the tooltip works also for mC->Var1 because mC is a local variable
Thankyou Henning - that's very interesting. Can you attach a project with that source to a QP please? I'll ask an engineer to look at it.
How do I get the project zip (27MB) to you? The site acceptsonly10 MB