Re: Using ROOT on NT without makefile

From: Valery Fine (fine@bnl.gov)
Date: Mon Nov 09 1998 - 17:39:45 MET


On  9 Nov 98 at 13:21, GENTIT Francois-Xavier  DAPNI wrote:

>  Since I never succeeded in getting the debugger of Visual C++
>  working on my
> ROOT files when I use a Makefile to start Visual C++ 

  I'll see your files.

  From another hand I had no problem to debug any ROOT-based 
application, built with NMAKE.

 For that there are several ways.

  For example one may start his applicaiton and start DevStudion, 
then ATTACH debugger to the running application via:


"Build" -> "Debug" -> Attach to process" -> <The name of your application>


To build the "debug" information properly you should apply

  /Zi option to compile

and 

  /DEBUG and /PDB options for linker.

 I've attached a modified Makefile from test/Makefile to buidl a "PDB" - Program data base files. That dupplies a 
symbolic information for Ms DevStudio Debugger to debug.
 
  Try to apply this for your case.

   Hope this helps.
               Valery
=================================================================
Dr. Valeri Faine (Fine)
    -------------------          Phone: +1 516 344 7806
Brookhaven National Laboratory   FAX  : +1 516 344 4206
Bldg. 510A /STAR                 mailto:fine@bnl.gov
Upton, New York, 11973-5000      http://nicewww.cern.ch/~fine
USA
                                 
Dr. Valery Fine                  Telex : 911621 dubna su
    -----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region      Fax   : +7 09621 6 51 45
Russia                           mailto:fine@main1.jinr.dubna.su                              



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:34:39 MET