'project_n_planning/NUK'에 해당되는 글 1건

  1. 2013.01.15 :: Remote Debugging in MSVC++ 6.0 - Step by step
project_n_planning/NUK 2013. 1. 15. 14:21

 

http://www.codeproject.com/Articles/1762/Remote-Debugging-in-MSVC-6-0-Step-by-step-in-the-O

 

Remote Debugging in MSVC++ 6.0 - Step by step 

 
1. Local machine 
192.168.0.184 
C:\Users\NUK>net use
새 연결 정보가 저장됩니다.
 
 
상태         로컬      원격                      네트워크
 
--------------------------------------------------------------
OK           T:        \\192.168.0.246\nuk     Microsoft Windows Network
명령을 잘 실행했습니다.
 
1.1 VisualStudio 6.0 -> project -> settings -> Debug ->  remote executable path and file name: r:\test1\debug\Test1.exe 
 
 
 
2. Remote(target machine)

- 2049, 2050 port  shoud be allowed for incomping tcp packet 

 

 
192.168.0.246 
netstat -atn 
 TCP    192.168.0.184:49877  192.168.0.246:2049   ESTABLISHED     InHost
 
 TCP    192.168.0.184:49878  192.168.0.246:2050   ESTABLISHED     InHost
 
 
상태         로컬      원격                      네트워크
 
--------------------------------------------------------------
OK           R:        \\192.168.0.184\nuk     Microsoft Windows Network
명령을 잘 실행했습니다.

3. 참고 URL.

http://sanaigon.tistory.com/m/post/view/id/124

-> vs6.0 화면캡쳐와 설명이 있는 곳 (글쓰기의 프레임을 제공함 ㅠ.ㅠ)

단, 몇곳에서 오류가 있는 것 같음

예.Project Setting-> Remote Executable path and file name ->"r:\test1\debug\test1.exe" 과 같이

Remote (target) PC에서 LocalPC의 폴더를 지정해줘야 한다.

 

 

3.1 vs.net2003 remote debugging

http://katalog.egloos.com/4637919

 

3.2 WinDbg 이용한 디버깅

http://hongyver.pe.kr/ttblog/entry/%EB%A6%AC%EB%AA%A8%ED%8A%B8-%EB%94%94%EB%B2%84%EA%B9%85 

-> 위 링크에서 WinDbg를 이용한 디버깅이 가능함.

 

4. vs2008 remote debugging

4.1  http://secretofsh.tistory.com/144

Visual Studio 2008에서 원격디버깅 사용하기

 

4.2 google search

http://www.google.co.kr/#hl=ko&newwindow=1&tbo=d&output=search&sclient=psy-ab&q=remote+debugging+vs2008+&oq=remote+debugging+vs2008+&gs_l=hp.3..0i10i30l2j0i8i10i30j0i8i30.34002.40002.0.44611.24.18.0.0.0.0.797.10391.4-2j7j7.16.0...0.0...1c.1.1kTm9XsKcY0&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&bvm=bv.41018144,d.aGc&fp=136288e78ec78726&biw=784&bih=404

 

 

 

 

 

posted by cskimair
: