Discussion:
Problem indexing symbol files with Perforce
(too old to reply)
k***@gmail.com
2016-11-08 08:43:26 UTC
Permalink
Hi all guru's

I am trying to setup a symbol server, and hence I need the symbols indexed to map to the source version.

I am running p4Index on folder where the solution resides.

my disc files and folders:

.\CalculatorDemo\bin\ where the output is produced
.\CalculatorDemo\CalculatorApp\ contains source
.\CalculatorDemo\CalculatorDll\ contains source
.\CalculatorDemo\CalculatorTest\ contains source

In my version control the path in the depot is:
//sw/Main/Internal/CalculatorDemo/

and my workspace is:
c:\Projects\Dev\sw\Main\Internal\CalculatorDemo\

When I try to index it I get no files found..

C:\projects\dev\sw\main\Internal\CalculatorDemo>p4Index -debug
--------------------------------------------------------------------------------
ssindex.cmd [STATUS] : Server ini file: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\srcsrv\srcsrv.ini
ssindex.cmd [STATUS] : Source root : C:\projects\dev\sw\main\Internal\CalculatorDemo
ssindex.cmd [STATUS] : Symbols root : C:\projects\dev\sw\main\Internal\CalculatorDemo
ssindex.cmd [STATUS] : Control system : P4
ssindex.cmd [STATUS] : P4 program name: p4.exe
ssindex.cmd [STATUS] : P4 Label : <N/A>
ssindex.cmd [STATUS] : Old path root : <N/A>
ssindex.cmd [STATUS] : New path root : <N/A>
ssindex.cmd [STATUS] : Partial match : Not enabled
--------------------------------------------------------------------------------
ssindex.cmd [STATUS] : Running... this will take some time...
ssindex.cmd [INFO ] : ... indexing C:\projects\dev\sw\main\Internal\CalculatorDemo\bin\x64\Debug\CalculatorApp.pdb
ssindex.cmd [INFO ] : ... zero source files found ...
ssindex.cmd [INFO ] : ... indexing C:\projects\dev\sw\main\Internal\CalculatorDemo\bin\x64\Debug\CalculatorDll.pdb
ssindex.cmd [INFO ] : ... zero source files found ...
ssindex.cmd [INFO ] : ... indexing C:\projects\dev\sw\main\Internal\CalculatorDemo\bin\x64\Debug\CalculatorTest.pdb


I cannot seem to get the hole through and get the file version info into the pdb's. - (I am doing this on my developer maschine, because I want to get the script working before I involve our build server)

Does anyone know (yes offcause someone does) how I can get the problem debugged/fixed. I probably has to do som perl debuggin or something. - I suspect that it could be a problem with not pointing to the rigth place
on the perforce server...

Thansk in advance
Kenneth
k***@gmail.com
2016-11-09 08:24:40 UTC
Permalink
Post by k***@gmail.com
Hi all guru's
I am trying to setup a symbol server, and hence I need the symbols indexed to map to the source version.
I am running p4Index on folder where the solution resides.
.\CalculatorDemo\bin\ where the output is produced
.\CalculatorDemo\CalculatorApp\ contains source
.\CalculatorDemo\CalculatorDll\ contains source
.\CalculatorDemo\CalculatorTest\ contains source
//sw/Main/Internal/CalculatorDemo/
c:\Projects\Dev\sw\Main\Internal\CalculatorDemo\
When I try to index it I get no files found..
C:\projects\dev\sw\main\Internal\CalculatorDemo>p4Index -debug
--------------------------------------------------------------------------------
ssindex.cmd [STATUS] : Server ini file: C:\Program Files (x86)\Windows Kits\10\Debuggers\x64\srcsrv\srcsrv.ini
ssindex.cmd [STATUS] : Source root : C:\projects\dev\sw\main\Internal\CalculatorDemo
ssindex.cmd [STATUS] : Symbols root : C:\projects\dev\sw\main\Internal\CalculatorDemo
ssindex.cmd [STATUS] : Control system : P4
ssindex.cmd [STATUS] : P4 program name: p4.exe
ssindex.cmd [STATUS] : P4 Label : <N/A>
ssindex.cmd [STATUS] : Old path root : <N/A>
ssindex.cmd [STATUS] : New path root : <N/A>
ssindex.cmd [STATUS] : Partial match : Not enabled
--------------------------------------------------------------------------------
ssindex.cmd [STATUS] : Running... this will take some time...
ssindex.cmd [INFO ] : ... indexing C:\projects\dev\sw\main\Internal\CalculatorDemo\bin\x64\Debug\CalculatorApp.pdb
ssindex.cmd [INFO ] : ... zero source files found ...
ssindex.cmd [INFO ] : ... indexing C:\projects\dev\sw\main\Internal\CalculatorDemo\bin\x64\Debug\CalculatorDll.pdb
ssindex.cmd [INFO ] : ... zero source files found ...
ssindex.cmd [INFO ] : ... indexing C:\projects\dev\sw\main\Internal\CalculatorDemo\bin\x64\Debug\CalculatorTest.pdb
I cannot seem to get the hole through and get the file version info into the pdb's. - (I am doing this on my developer maschine, because I want to get the script working before I involve our build server)
Does anyone know (yes offcause someone does) how I can get the problem debugged/fixed. I probably has to do som perl debuggin or something. - I suspect that it could be a problem with not pointing to the rigth place
on the perforce server...
Thanks in advance
Kenneth
I found after some debuggin that I needed to be logged in to perforce.
that can be done by providing the P4USER and P4CLIENT enviroment variables..

;-) Kenneth

Loading...