[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: [eigen] MSVC debug tools
- From: Björn Piltz <bjornpiltz@xxxxxxxxxxxxxx>
- Date: Fri, 18 Dec 2009 16:53:15 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:date:message-id :subject:from:to:content-type; bh=Y+IrRQeVbWG4MvnH716g2VR7SkLMsja6kk0eYHkfchk=; b=t5DnTHXX5vpxtl8POEib1uaCbdlBIJ7m41BEv9YLGFXXnA0dntUHtwwvoALHypMaw/ 04ERrDwu7CuwkR3owhI2QCm4BOSG+/hSBdyeHKp/cKkufPHYSBR/ZydENYx3faZ3KGE5 DD1UEqAh4L8anaVRtovfqT5Yb/D00Q/3azRVc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; b=XaiPoOHInTaH/QiCCmUhJIwut58vmiDFaqSzPR76jGBe2bIPZ2u3kVYw1akLTvMQ0o LTimd0kPYtXmYa348IodiXSUZYOK/r3iCFrKjBReIp1EuOBzIe4SzZo4BdqRwDXNsMgp BDhmkwaMqTxXJz/R5ZL722oyPAQx0ZLpSc6Pg=
There is an undocumented feature in Visual Studio which let's you avoid stepping into certain functions when you're debugging. This could be very helpful when debugging Eigen, since you often have to step in and out of trivial functions before getting to the real functionality.
e.g. :
return ei_assign_selector<Derived,OtherDerived,false>::run(this->derived(), other.derived());
Here you would have to step into derived() twice, before getting into the more interesting run().
The fix consists of adding the following registry key to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\NativeDE\StepOver
Eigen\:\:.*\:\:derived=NoStepInto
or
Eigen\:\:.*Base\<.*\>\:\:.*Base\<.*\>
which will disable stepping into any empty constructor like MatrixBase::MatrixBase()
I have attached a registry patch, but it would be great if someone could test it before I put it on the wiki. Also post candidates here for the most annoying functions to be included.
Björn
Attachment:
eigen.reg
Description: Binary data