Community
Participate
Working Groups
I just started using 3.6M5 and I'm running CDT HEAD. This does not happen with M4 (although in some cases the breakpoints did disappear, but I couldn't reproduce it easily with M4) To reproduce easily with M5: 1- Have a C++ project 2- create breakpoints -> they will be shown in the debug view 3- launch a DSF-GDB session 4- hide the breakpoints view 5- show the breakpoints view -> breakpoints are no longer shown. To show the breakpoints again, I have to select the top launch element. Please let me know if you need anything more.
Pawel, is this problem specific to CDT? I don't see the issue with Java breakpoints. Could it be caused by overriding the viewer input?
Created attachment 158071 [details] Fix for the platform side of the bug. I looked into this last night but I ran out of time to commit the fixes. There are two parts to this bug DSF and Platform. On the DSF side, the view input element returns an IViewerInputProvider, but the the provider never completes the request. Since DSF-GDB doesn't have a real implementation for the IViewerInputProvider, it should at least return an error for the update. On the platform side (a much less severe problem), the Breakpoints and the Expressions view don't examine the status in the completed update. If the update returns an error, the view should use the default input. This patch addresses the platform side of the problem, I'll file a separate bug for DSF.
I updated both plaftorm and DSF to get the patches of both this bug and bug 301726 and things now work properly. Thanks!
I committed the fix this morning but I forgot to mark bug .... I also filed bug 301726 for the DSF side of the problem. Darin please review.