|Re: [eigen] MSVC debug tools|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] MSVC debug tools
- From: Björn Piltz <bjornpiltz@xxxxxxxxxxxxxx>
- Date: Mon, 21 Dec 2009 11:38:37 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:reply-to:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=s6d8SfCjEdzUbma2nqau3nOg1TiJMFWD5stbmybnP9o=; b=VI/4tqXXG+BbKuTHfqO0x2Ojh12CKvuNcBTS4OU6cnrfdH+2C+4FofNM6y9jOKze2C g5L/9tPn/IAlaWee7KQWOfRKCUwRpjJA85Zra7HUn/HtHjbXNV2mhGd+UngzF67ewnnA fUgPTl4riVRn/zoIrH7JYf/L+Au4wK96JB7eE=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=jOccsjqB7pOvc+C6UOakcxYCm766MQN6p9cWWD6CrI4bNxovgBS+i7AqpZjC1xjr35 qz6f9D6Acxc7augpKbxZ20kDZpotT92oGw3tKr1FPm+5SDAKFDYQeTQtpWsJh/6Md7lZ OfX+BqTjKT47030nDm7rAPlX0r/wwekSE2C/0=
2009/12/20 Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
Is that something that could be added to debug/msvc/ ?
Perhaps along with some explanatory text?
That was my intention.
Hauke's concern is certainly valid, but I think that can be handled with the normal disclaimers. Since this feature isn't even officially supported by Microsoft, we certainly can't make any guarantees. I am more worried about which regexes to include. Add a to greedy one, and suddenly the debugger will act very unpredictably. Also, different developers have different needs. For example I thought about adding "operator::new" since I almost always want to step directly into the ctor and not into new(), but with Eigen doing all this magic with overloaded new, aligned and unaligned mallocs, sometimes you do want to know which function is actually called.
So the reason I started this thread was to find out which set of functions to be included if we add this file to the Wiki.
We could also just document the feature and give some examples and leave it to the developer to make the changes.