mohammad-suliman / visualStudioAddon

GNU General Public License v2.0
13 stars 4 forks source link

No beep or message in Breakpoint #3

Open sharkboyto opened 8 years ago

sharkboyto commented 8 years ago

Hi, thanks for the Addon. In VS 2015 Community, in the editor, no beep or message appear on a line with breakpoint. My system is Windows 10 Anniversary Update and run the last nvda version. Thanks.

mohammad-suliman commented 7 years ago

thank you for the report! unfortunately, I have no access to a computer running windows 10 to debug the issue on. the only suggestion I can think of currently, is to update visual studio to latest version if you haven't done this already. On windows 7, breakpoint detection works fine with VS community update 1 and update 3, which is the latest. technically, breakpoint detection depends on 2 factors:

if one of these doesn't work as expected, breakpoints won't be reported.

sharkboyto commented 7 years ago

Hi, thanks for reply. This is my configuration, I attached a screenshoot. https://www.dropbox.com/s/kxhhgvq66ie6lnt/vs.png?dl=0

My Visual Studio is correctly updated. Thanks.

Alessandro

Il 01/09/2016 11:02, mohammad-suliman ha scritto:

thank you for the report! unfortunately, I have no access to a computer running windows 10 to debug the issue on. the only suggestion I can think of currently, is to update visual studio to latest version if you haven't done this already. On windows 7, breakpoint detection works fine with VS community update 1 and update 3, which is the latest. technically, breakpoint detection depends on 2 factors:

  • a name change event, which is fired once the caret reaches a line with breakpoint.
  • availability of the status bar, to get the current line number.

if one of these doesn't work as expected, breakpoints won't be reported.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mohammad-suliman/visualStudioAddon/issues/3#issuecomment-244019643, or mute the thread https://github.com/notifications/unsubscribe-auth/ARkHrT9R94eorMctTGzsQ9v6A0GpUoWxks5qlpSwgaJpZM4Ji8ti.

albzan commented 7 years ago

Hi Alessandro, I don't think it is something related to the Windows version. It is probably related to the language of Visual Studio. With the italian language of the program (actually with a non-english version I suppose) the logic doesn't work since both objects and text on the screen change its name. Specifically I have the beep working replacing:

Line 85:

and obj.name.startswith("Breakpoint"): 

with:

and ("interruzione" in obj.name.lower())

Line 484:

REG_GET_LINE_TEXT = re.compile("Ln \d+")

With:

REG_GET_LINE_TEXT = re.compile("Ri \d+")

And probably few other lines to have the state reported.

Alberto

sharkboyto commented 7 years ago

thanks. I have installed the language pack in English. I have set the English language in visual studio. now everything works. Very Good!! Good work!

Alessandro

Il 13/09/2016 21:37, albzan ha scritto:

Hi Alessandro, I don't think it is something related to the Windows version. It is probably related to the language of Visual Studio. With the italian language of the program (actually with a non-english version I suppose) the logic doesn't work since both objects and text on the screen change its name. Specifically I have the beep working replacing:

Line 85:

|and obj.name.startswith("Breakpoint"): |

with:

|and ("interruzione" in obj.name.lower()) |

Line 484:

|REG_GET_LINE_TEXT = re.compile("Ln \d+") |

With:

|REG_GET_LINE_TEXT = re.compile("Ri \d+") |

And probably few other lines to have the state reported.

Alberto

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mohammad-suliman/visualStudioAddon/issues/3#issuecomment-246798555, or mute the thread https://github.com/notifications/unsubscribe-auth/ARkHrbXy1fIw2Wmv9silQDEVWKBOV6ZJks5qpvuEgaJpZM4Ji8ti.