Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Skip All Breakpoints in VS2015: $tid not defined
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tbrammer
New Member

Germany
7 Posts

Posted - Jan 07 2019 :  04:44:25 AM  Show Profile  Reply with Quote
With VS 2015 C++ "Skip All Breakpoints" brings up an error message for each breakpoint that says (translated from German):

Cant set this breakpoint:
At Filename.cpp, Line 526 ('FuncName()'), if "($tid == 1 && $pid == 1 && "__VAssist_do_not_touch!0$WhenTrue"[0])" is "True"
The identifier ""$tid"" is not definied.

It seems that VS 2015 doesn't fully support $TID.
It is possible print $TID under breakpoint actions. But $tid doesn't work. In the breakpoint conditions neither $TID nor $tid work.

Any possible workaround for this?

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Jan 07 2019 :  06:49:54 AM  Show Profile  Reply with Quote
This is nothing to do with VA, it sounds like Microsoft are working on a fix in the latest version of Visual Studio, based on this page:

https://developercommunity.visualstudio.com/content/problem/56052/pseudovariable-tid-error-in-native-c-debugger.html

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 07 2019 :  08:27:17 AM  Show Profile  Reply with Quote
ugh... sorry for the problem. We will investigate and see if there are alternatives for us. We may have to simply disable the new commands in VS2015.
Go to Top of Page

tbrammer
New Member

Germany
7 Posts

Posted - Jan 07 2019 :  08:32:14 AM  Show Profile  Reply with Quote
VA adds the breakpoint condition if "($tid == 1 && $pid == 1 && ...)" to all breakpoints if you choose "Skip All Breakpoints".
I suppose it just adds a condition that is never TRUE. Just adding if "($pid == 1 && ...)" would work in VS2015 without error messages.
Also it might be better to use the uppercase $PID.
Go to Top of Page

tbrammer
New Member

Germany
7 Posts

Posted - Jan 07 2019 :  08:34:23 AM  Show Profile  Reply with Quote
Please don't just disable it! This is the most useful new feature since years!!
We are considering to renew mentainence just to get it. I even intalled VS 2017 to use it (which works great :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Jan 08 2019 :  11:07:42 AM  Show Profile  Reply with Quote
Apologies, I did not realise VA was setting these conditions. I am seeing VA set the same conditions here, but VS2015 does not have any problems with this for me.

Which version of VS2015 are you using? Which OS are you using?

I am testing Windows 7 64bit, VS2015 version 14.0.25431.01 Update 3.

zen is the art of being at one with the two'ness
Go to Top of Page

tbrammer
New Member

Germany
7 Posts

Posted - Jan 08 2019 :  11:12:57 AM  Show Profile  Reply with Quote
Currently I have a mail dialog with Goran M. from WholeTomato.
It turned out that the problem occurs when debugging 64 bit applications only. 32 bit apps are working fine.

My VS2015 version is:
Microsoft Visual Studio Enterprise 2015
Version 14.0.25431.01 Update 3
Microsoft .NET Framework
Version 4.7.03056

Details have been sent to Goran.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Jan 08 2019 :  11:15:49 AM  Show Profile  Reply with Quote
Ah, thank you for the update, I will leave Goran looking at this with you. At least now we know why I was not seeing this, but you were.

zen is the art of being at one with the two'ness
Go to Top of Page

tbrammer
New Member

Germany
7 Posts

Posted - Jan 08 2019 :  11:20:00 AM  Show Profile  Reply with Quote
In the meantime I have installed VS2017 and use it with VS2015 toolset.
This works fine even with 64 bit debugging. So I'm quite happy now :)
Go to Top of Page

gmit
Whole Tomato Software

Croatia
90 Posts

Posted - Jan 08 2019 :  3:20:15 PM  Show Profile  Reply with Quote
Conclusion so far is:
- works on VS2017
- doesn't work on VS2015 that attaches to x64
- doesn't work on VS2015 that attaches to 32-bit process if "Use native compatibility mode" debugger option is checked (the default is unchecked)

tbrammer is currently happy with VS2017 workaround, but we will see if there is something that can be done for VS2015.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Jan 08 2019 :  7:30:52 PM  Show Profile  Reply with Quote
I've opened a bug report for this: case=134666.
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Feb 05 2019 :  6:31:36 PM  Show Profile  Reply with Quote
case=134666 is fixed in build 2316.
Go to Top of Page

tbrammer
New Member

Germany
7 Posts

Posted - Feb 06 2019 :  02:55:10 AM  Show Profile  Reply with Quote
Thanks :)
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000