since at least 12.0.3-9 Windows XP 64bit (I tried all the way into v13.0.1-8 and get the same issue)
a right click inside of the Procedure Debugger does not generate the context menus I should see.
1. open a sybase ASE connection ( on 12.5 or higher )
2. right click on a procedure to debug in procedure debugger
3. once the procedure is opened attempt to right click and toggle a breakpoint in the body the of the procedure.
4. All you will get is the "copy" menu. If you watch closely on an attempt to launch the context menus, you can see that a large area turns grey, then that reduces to only the "copy" menu
see attached
( refer to the documentation for what I should see via right click here: https://www.aquaclusters.com/app/home/project/public/aquadatastudio/wikibook/Documentation12/page/208/attachment/AB3D03E7-5583-3E5F-CC0B-AABE00688E92/sybase-debugger-breakpoints-png )
This exists all the way back to at least v12.0.0-dev-130
The bug does not exist in v12.0.0-dev-129
OSX does not seem to have this problem.
Breakage mostly likely introduced in file CEditorPanelView - line 164:
enablePopupMenu();
--> It appears that 2 pop-up menus are now appearing in debugger. The debugger pop-up menu disappears almost immediately while the "Copy" pop-up menu stays.
Breakage mostly likely introduced in file CEditorPanelView - line 164:
enablePopupMenu();
--> It appears that 2 pop-up menus are now appearing in debugger. The debugger pop-up menu disappears almost immediately while the "Copy" pop-up menu stays.
After a right-click, the Context menu is triggered once and the Copy menu gets triggered several times. The reason you did not see this problem on OSX is because the Context menu gets triggered the last and it wipes out the Copy menu; on OSX, if you hold the right mouse button for a while, you will see the Copy menu shows up first, and then the Context menu after button is released. On non-OSX platforms, the Context menu is triggered first and then wiped out by the Copy menu.
After spoke to Tarig, it appears ADS should always present the Context menu in the Debug panel, and user should never see the Copy menu.
After a right-click, the Context menu is triggered once and the Copy menu gets triggered several times. The reason you did not see this problem on OSX is because the Context menu gets triggered the last and it wipes out the Copy menu; on OSX, if you hold the right mouse button for a while, you will see the Copy menu shows up first, and then the Context menu after button is released. On non-OSX platforms, the Context menu is triggered first and then wiped out by the Copy menu.
After spoke to Tarig, it appears ADS should always present the Context menu in the Debug panel, and user should never see the Copy menu.
I made some changes in trunk, SVN r32482. Can you please try it out to see if it works in all cases? Tariq mentioned that there is a way to launch a new debug panel from the working debug panel, I don't know how to do that. Please also try this fix on OSX. I will back port this fix to 12.0 and 13.0 after we verified it in trunk.
I made some changes in trunk, SVN r32482. Can you please try it out to see if it works in all cases? Tariq mentioned that there is a way to launch a new debug panel from the working debug panel, I don't know how to do that. Please also try this fix on OSX. I will back port this fix to 12.0 and 13.0 after we verified it in trunk.
one thing I noticed
on Sybase ASE 12.5 ( 10.168.11.45 ) - NORTHWIND database > Stored Procedures > dbo.Proc_002
1. open the procedure in the procedure debugger by right clicking on it in the Schema Browser and choosing "Debug in Procedure Debugger".
2. do not click anywhere in the editor area for this procedure once it opens
3. Only click the Toggle Breakpoint button in the Query Analyzer Toolbar
4. line 15 will indicate a Breakpoint.
5. click the Toggle Breakpoint button again. The line will not toggle to remove the breakpoint.
however, if you left click on this line with the cursor, then right click on it you can toggle the breakpoint to remove it.
I think this is because the mouse cursor was never clicked on line 15 before the Toggle Breakpoint button was clicked in step #3.
one thing I noticed
on Sybase ASE 12.5 ( 10.168.11.45 ) - NORTHWIND database > Stored Procedures > dbo.Proc_002
1. open the procedure in the procedure debugger by right clicking on it in the Schema Browser and choosing "Debug in Procedure Debugger".
2. do not click anywhere in the editor area for this procedure once it opens
3. Only click the Toggle Breakpoint button in the Query Analyzer Toolbar
4. line 15 will indicate a Breakpoint.
5. click the Toggle Breakpoint button again. The line will not toggle to remove the breakpoint.
however, if you left click on this line with the cursor, then right click on it you can toggle the breakpoint to remove it.
I think this is because the mouse cursor was never clicked on line 15 before the Toggle Breakpoint button was clicked in step #3.
> one thing I noticed
> ...
> 2. do not click anywhere in the editor area for this procedure once it opens
> 3. Only click the Toggle Breakpoint button in the Query Analyzer Toolbar
> 4. line 15 will indicate a Breakpoint.
> 5. click the Toggle Breakpoint button again. The line will not toggle to remove the breakpoint.
I noticed this problem while testing r32482. Another way to generate a similar behavior is:
a. Once debug panel is opened, right-click any place inside the debug panel.
b. right-click and select 'Toggle Breakpoint' from the popup-menu (3 menu items displayed)
c. line 15 is highlighted
d. right-click again and popup menu still displays 3 items
I am not sure whether the result of steps b and d is correct or not. I never used debugger panel before, and this is the first time I touched debugger code base. r32482 change is pretty isolated which only gets context popup menu displayed, no change on other code. I need to know what is correct behavior of the debugger panel before making more changes. I will stop by and talk to you.
> one thing I noticed
> ...
> 2. do not click anywhere in the editor area for this procedure once it opens
> 3. Only click the Toggle Breakpoint button in the Query Analyzer Toolbar
> 4. line 15 will indicate a Breakpoint.
> 5. click the Toggle Breakpoint button again. The line will not toggle to remove the breakpoint.
I noticed this problem while testing r32482. Another way to generate a similar behavior is:
a. Once debug panel is opened, right-click any place inside the debug panel.
b. right-click and select 'Toggle Breakpoint' from the popup-menu (3 menu items displayed)
c. line 15 is highlighted
d. right-click again and popup menu still displays 3 items
I am not sure whether the result of steps b and d is correct or not. I never used debugger panel before, and this is the first time I touched debugger code base. r32482 change is pretty isolated which only gets context popup menu displayed, no change on other code. I need to know what is correct behavior of the debugger panel before making more changes. I will stop by and talk to you.
Context menu specific problem has been fixed:
trunk: SVN r32482
13.0 branch: SVN r32505
12.0 branch: SVN r32506
For other observed/questionable behaviors, please log a separate issue.
This context menu problem is also seen in other debuggers, e.g. Oracle Package Debugger (Oracle 11g server running on xxx.xxx.11.51, schema: HR, package: PACK_NEW_HELLO_WORLD_2). The fix above is made in the base class from which all of debugger classes are derived. I only know these two debuggers, if there are some other types of debuggers, please test them out.
Context menu specific problem has been fixed:
trunk: SVN r32482
13.0 branch: SVN r32505
12.0 branch: SVN r32506
For other observed/questionable behaviors, please log a separate issue.
This context menu problem is also seen in other debuggers, e.g. Oracle Package Debugger (Oracle 11g server running on xxx.xxx.11.51, schema: HR, package: PACK_NEW_HELLO_WORLD_2). The fix above is made in the base class from which all of debugger classes are derived. I only know these two debuggers, if there are some other types of debuggers, please test them out.
Issue #8999 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build SVN trunk/r32482, 13.0/r32505, 12.0/r32506 |
No time estimate |
1 issue link |
relates to #9053
Issue #9053toggle breakpoint behavior should allow toggle where right click occurs |
This exists all the way back to at least v12.0.0-dev-130
The bug does not exist in v12.0.0-dev-129
OSX does not seem to have this problem.