[Insight-users] How to step debug IntensityBased2D3DRegis trationin insig htApplication

Luis Ibanez luis.ibanez at kitware.com
Mon May 15 07:25:15 EDT 2006


Hi Vivian,

No, there is no difference between debugging a comman line program,
or a GUI based program.  In both cases you simply run them in Debug
mode from inside the IDE of Visual Studio.

You may find useful to get more familiar with the use of Visual Studio
before you continue your exploration of ITK.


  Regards,


      Luis



=================
fyy5581 wrote:
> Luis,
> Thank you! But all the ITK project are based on command line operation. 
> Is there any difference between debuging a command-line based project 
> with debuging a common project in VC? YOur answer in last letter told me 
> the common way to debug in vc.
>  
> Regards,
> Vivian
>  
> ------------------------------------------------------------------------
> fyy5581
> 2006-05-15
> ------------------------------------------------------------------------
> *发件人:* Luis Ibanez
> *发送时间:* 2006-05-15 06:15:15
> *收件人:* fangyuanyuan
> *抄送:* Insight Users
> *主题:* Re: [Insight-users] How to step debug IntensityBased2D3DRegis 
> trationin insig htApplication
>  
> Hi  Vivian,
>  
> In  the  list  of  projects  select:
>  
>            IntensityBased2D3DRegis
>  
> as  the  "default  project".
>  
>  
> Then  go  to  the  menu:
>  
>                            Build
>  
> Then  to  the  option:
>  
>            Configuration  manager
>  
> in  "Active  Solution  Configuration"  select  "Debug"
>  
> then  go  to  the  "Build"  menu  and  click  "Build".
>  
> When  the  build  finishes,  go  to  the  "Debug"  menu
> in  the  top  menu  bar,  and  select  "Start".  You  can
> also  use  the  shortcut  "F5".
>  
> At  that  point  the  application  will  start  running
> in  Debug  mode.
>  
> If  you  want  to  inspect  a  particular  place  in  the
> code,  you  should  insert  a  break  point  in  that  line
> of  code  before  you  "start"  the  program  in  debug
> mode.
>  
> Once  you  reach  a  break  point  you  can  advance  step
> by  step  by  using  the  keys  F10  and  F11.  F10  will
> advance  one  line  at  a  time,  and  will  skip  over
> invocations  to  functions.  F11  will  go  inside  invocations
> to  functions.
>  
>  
>  
>      Good  Luck,
>  
>  
>              Luis
>  
>  
>  
> ====================
> fangyuanyuan  wrote:
>  >  Thank  you  very  much!  I  use  Visual  Studio7.net2003  ,i  use 
>  windows  XP  as  OS.
>  >  Thank  you!
>  >    
>  >  Regards,
>  >  Vivian  
>  >    
>  >    
>  >    
>  >    
>  >    
>  >    
>  >  
>  >         
>  ------------------------------------------------------------------------
>  >  
>  >          -----原始邮件-----
>  >          发件人:"Luis  Ibanez"
>  >          发送时间:2006-05-10  21:03:28
>  >          收件人:"fangyuanyuan"
>  >          抄送:insight-users at itk.org
>  >          主题:Re:  [Insight-users]  How  to  step  debug 
>  IntensityBased2D3DRegis
>  >          tration  in  insightApplication
>  >  
>  >  
>  >  Hi  Vivian,
>  >  
>  >  
>  >  What  compiler  do  you  use  ?
>  >  
>  >  
>  >    -  GCC  ?
>  >    -  Visual  Studio  ?
>  >    -  ICC  ?
>  >    -  Borland  ?
>  >  
>  >  
>  >  for  each  one  of  them  you  will  have  a  different  method
>  >  for  debugging  code  step-by-step.
>  >  
>  >  
>  >  Please  let  us  know  what  is  your  compiler  and
>  >  development  environment.
>  >  
>  >  
>  >      Thanks
>  >  
>  >  
>  >            Luis
>  >  
>  >  
>  >  
>  >  ---------------------
>  >  fangyuanyuan  wrote:
>  > >  Can  anyone  help  me?
>  > >  Thank  you  very  much!
>  > >    
>  > >  Vivian
>  > >    
>  > >    
>  > >    
>  > >  
>  > >  
>  > >  
>  > >  
>  > >  
>  > >  
>  > >  
>  > >  你  不  想  试  试  今  夏  最  “酷”  的  邮  箱  吗  ?
>  > >  蕴  涵  中  华  传  统  文  化  于  世  界  一  流  科  技  之   
> 中,创  新  Ajax  技  术,  
>  > >  126  “D  计  划”火  热  体  验  中  !   <http://www.126.com/ >
>  > >  
>  > >  
>  > > 
>  ------------------------------------------------------------------------
>  > >  
>  > >  _______________________________________________
>  > >  Insight-users  mailing  list
>  > >  Insight-users at itk.org
>  > >  http://www.itk.org/mailman/listinfo/insight-users
>  >  
>  >  
>  >  
>  >  
>  >  
>  >  
>  >  
>  >  
>  >  
>  >  你  不  想  试  试  今  夏  最  “酷”  的  邮  箱  吗  ?
>  >  蕴  涵  中  华  传  统  文  化  于  世  界  一  流  科  技  之  中, 
> 创  新  Ajax  技  术,  
>  >  126  “D  计  划”火  热  体  验  中  !   <http://www.126.com/ >
>  
>  
>  




More information about the Insight-users mailing list