NH3.3 symbols

78 views
Skip to first unread message

Richard Birkby

unread,
Apr 23, 2012, 10:06:28 AM4/23/12
to nhibernate-...@googlegroups.com
I have to say, I was a bit surprised to see Oskar's folder structure in the pdb symbols:
[HibernateException: The dialect was unable to perform paging of a statement that requires distinct results, and is ordered by a column that is not included in the result set of the query.]
   NHibernate.Dialect.MsSql2005DialectQueryPager.AppendSortExpressionsForDistinct(Dictionary`2 columnToAlias, SqlString[] sortExpressions, SqlStringBuilder result) in c:\Users\oskar.berggren\Documents\Projects\nhibernate-core-3\src\NHibernate\Dialect\MsSql2005DialectQueryPager.cs:206

Richard

Oskar Berggren

unread,
Apr 23, 2012, 10:20:39 AM4/23/12
to nhibernate-...@googlegroups.com


It's built using the regular build script. This is what usually
happens with debug info - is there a way to remove parts of the paths
from the generated pdb?

/Oskar

Stephen Bohlen

unread,
Apr 23, 2012, 10:23:41 AM4/23/12
to nhibernate-...@googlegroups.com
I'm not aware of any way to remove this when generating the PDB files during build.  Its one of the reasons why I usually work from a more innocuous folder like c:\projects\ :)  If there is a way to do this, I'd certainly be interested to learn it as it comes up in other contexts/projects too, of course.

Steve Bohlen
sbo...@gmail.com
http://blog.unhandled-exceptions.com
http://twitter.com/sbohlen

Richard Birkby

unread,
Apr 23, 2012, 10:32:41 AM4/23/12
to nhibernate-...@googlegroups.com
On Mon, Apr 23, 2012 at 3:20 PM, Oskar Berggren <oskar.b...@gmail.com> wrote:
Den 23 april 2012 16:06 skrev Richard Birkby <rbi...@gmail.com>:
> I have to say, I was a bit surprised to see Oskar's folder structure in the
> pdb symbols:
>
> c:\Users\oskar.berggren\Documents\Projects\nhibernate-core-3\src\NHibernate\Dialect\MsSql2005DialectQueryPager.cs:206

It's built using the regular build script. This is what usually
happens with debug info - is there a way to remove parts of the paths
from the generated pdb?

I had assumed any release would come from a build-server for cleanliness reasons. NH3.2GA had filepaths which I assumed meant it came from the build server:
d:\csharp\nh\nh\nhibernate\src\nhibernate\dialect\mssql2005dialect.cs 


Richard

Oskar Berggren

unread,
Apr 23, 2012, 10:43:59 AM4/23/12
to nhibernate-...@googlegroups.com
Den 23 april 2012 16:32 skrev Richard Birkby <rbi...@gmail.com>:
>
> I had assumed any release would come from a build-server for cleanliness
> reasons. NH3.2GA had filepaths which I assumed meant it came from the build
> server:
> d:\csharp\nh\nh\nhibernate\src\nhibernate\dialect\mssql2005dialect.cs
>

The build server only builds the debug configuration. Personally, I
wouldn't mind having the build server construct all the release
packages (including nuget) as well.

I'm not too happy about "personal" paths in the files, on the other
hand to me it seems strange to keep personal projects outside of ones
home directory. Maybe that's only me and my unix background. :)

/Oskar

Reply all
Reply to author
Forward
0 new messages