'Debugging'에 해당되는 글 7건
- [2008/08/02] [ITFIND 메일진] 제357호
- [2008/05/01] Javascript Tutorials, References
- [2007/08/16] WinDbg 사용법
- [2007/03/21] ATL 디버깅 정보 출력하기
- [2007/01/22] Microsoft .NET Framework SDK 디버거 설명서
- [2007/01/22] Set Next Statement를 이용하여 디버깅하기
- [2007/01/22] ATL 디버깅 정보 출력하기
Articles on understanding Javascript.
- Andys Introductory JavaScript Tutorials : starting tutorials.
- Basic JavaScript : : Learn basics and write your first script.
- JavaScript Primer : Learn basics at JavaScriptKit
- Introduction to JavaScript : tutorials at W3Schools
- JavaScript 101 - Part 1 : Intro article by Kevin Yank
- JavaScript 101 - Part 2 : Intro article by Kevin Yank
- JavaScript 101 - Part 3 : article on client-side form validation
- Learning JavaScript for Beginners : Learn basics at JavaScriptMall
- Introductory Guide to regular expressions : tutorial is written by Karen Gayda
- JavaScript tutorial - Event information : at HowToCreate
- Traditional event registration model : at QuirksMode
- Advanced event registration models : at QuirksMode
- HTC Reference (MSDN) : mechanism to implement components in script as Dynamic HTML (DHTML) behaviors.
- JavaScript Object-Oriented Programming Part 1 : at SitePoint
- JavaScript Object-Oriented Programming Part 2 : at SitePoint
Software / services for debugging / testing Javascript.
- Debugging JavaScript programs : A quick reference guide that helps you find errors, even without the aid of a debugging utility.
- FireBug JavaScript Debugger : FireBug lets you explore the far corners of the DOM by keyboard or mouse.
- JavaScript Assertion Unit Framework : unit testing framework.
- Javascript Debugging : Javascript Debugging article at Mozilla.
- JsUnit : JsUnit is a Unit Testing framework for client-side (in-browser) JavaScript.
- JsUnit v1.2 : JsUnit is a simple framework to write repeatable tests in JavaScript.
- Learning the JavaScript debugger Venkman : visual guide to Venkman.
- Log4Ajax : AJAX and Log4j for traditional logging.
- Venkman JavaScript Debugger : Venkman is the code name for Mozilla’s JavaScript Debugger.
- CodeTrimmer : Script compresses JavaScript documents by removing excess comments, whitespace, newlines, and redundant script
Editors / plugins for Javascript.
- JSEditor plugin for Eclipse : JSEditor is a plug-in for the Eclipse IDE that provides basic JavaScript editing functions such as syntax hi-lighting and content outlining.
- JSEclipse plugin for Eclipse : JSEclipse is the best and most popular Javascript plugin for the Eclipse environment.
- MyEclipse JS Editor/Debugger : MyEclipse is a comprehesive and affordable Integrated Development Environment based on the Eclipse platform.
- NetBeans JavaScript Editor : JavaScript support to NetBeans IDE 5.0.
- Oracle jDeveloper : Oracle JDeveloper is a free integrated development environment with end-to-end support for modeling, developing, debugging, optimizing, and deploying Java applications and Web services.
- Sun Java Studio Creator : Java Studio Creator 2 is built on NetBeans 4.1, and includes features like a new set of JavaServer Faces components, support for building JSR-168 portlets, easy access to databases, a streamlined application model.
Forums to discuss Javascript problems.
- CodingForums: JavaScript programming : JavaScript programming at CodingForums
- Google Groups: comp.lang.javascript : JavaScript language forum on GoogleGroups
Libraries to implement Javascript.
- Behaviour : Javascript library that uses CSS selectors to apply javascript behaviors.
- ColorCombos : color combination palettes and tool
- Cross Browser | Toys : X Library, Demos & Applications
- DHTML Goodies : A library of DHTML and AJAX scripts
- dojo : open-source javascript toolkit
- Dynamic Drive CSS Library : practical javascript + CSS codes and examples such as CSS menus
- Image Reflection : add reflections to images on your webpages. It uses unobtrusive javascript to keep your code clean.
- Javascript Motion Tween : Javascript animation engine
- jQuery : new type of Javascript library. It is not a huge, bloated, framework promising the best in AJAX - nor is just a set of needlessly complex enhancements.
- Mochikit : A lightweight Javascript library
- Moo.fx : Superlightweight, javascript effects library.
- PEAR : a framework and distribution system for reusable PHP components
- Prototype : JavaScript framework that aims to ease development of dynamic web applications.
- Rico : open-source javascript toolkit
- Script.aculo.us : easy-to-use, compatible and, ultimately, totally cool JavaScript libraries to make your web sites and web applications fly, Web 2.0 style.
- sIFR : method to insert rich typography into web pages.
- Swat : open-source web application toolkit built with PHP5 (http://www.php.net/).
- Yahoo UI Library : set of utilities and controls, written in JavaScript, for building richly interactive web applications
- Transparent Custom Corners and Borders : make resizable box with rounded corners, custom borders, and a transparent shadow by Roger Johansson.
Reference sites for Javascript.
- Core JavaScript Reference : at WebReference
- JavaScript Reference : at JavaScriptKit
Tutorials to learn Javascript.
- JavaScript Tutorial : JavaScript tutorials at W3Schools.
- JavaScript tutorials : 100+ tutorials at Tutorialized.com
- JavaScript Tutorial : at Tizag.com
- Project Cool: Web Development Basics : JavaScript Tutorials at DevX
- QuirksMode : 150 pages with CSS and JavaScript tips and tricks by Peter-Paul Koch
- Sons of Suckerfish : create link hover effects using JavaScript and CSS.
- Getting Started with Ajax : Intro to Ajax by Aaron Gustafson
- Tutorials : Round-up of 30 AJAX Tutorials : Ajax Tutorials
- Tutorials : 60 More AJAX Tutorials : Ajax Tutorials
- 50 AJAX Reference Websites From Around the World : list of AJAX reference sites
프로세스 리스팅
!process 0 0
프로세스 어태치 시키기
.process /i [pid]
할당된 가상메모리 덤프
올리디버거의 Memory Map윈도의 기능
!vadump [-v]
해당메모리 주소가 어떤 속성인지 알려줌
!vprot [주소]
현재 프로세스내에 동작중인 스레드의 스택을 보여줌
!uniqstack [-b]
-b옵션을 주면 스택에 담긴 아규먼트까지 보여준다
현재 스레드에 할당된 권한(Privilege)를 보여줌
!token
각 스레드가 동작한 시간
!runaway
레지스트리 정보 확인
!dreg
예) 0:000> !dreg System\CurrentControlSet\Services\Tcpip!*
해당 주소를 UNICODE_STRING구조체 형식으로 살펴봄
!ustr [주소]
typedef struct _UNICODE_STRING {
USHORT Length;
USHORT MaximumLength;
PWSTR Buffer;
} UNICODE_STRING;
해당 주소를 ANSI_STRING혹은 OEM_STRING구조체로 살펴봄
!str [주소]
typedef struct _STRING {
USHORT Length;
USHORT MaximumLength;
PCHAR Buffer;
} STRING;
typedef STRING ANSI_STRING;
typedef STRING OEM_STRING;
스레드 로컬 스토리지 슬롯을 살펴봄
!tls
모든 슬롯 출력
예) !tls -1
Specifies the thread environment block (TEB). If this is 0 or omitted, the current thread is used
예) !tls 0
현재 스레드의 TEB정보를 출력
!teb
현재 프로세스의 PEB정보를 출력
!peb
잘 알려진 몇몇 STL템플릿정보를 출력
!stl
로딩된 dll모듈의 베이스주소와 길이 모듈명을 출력한다
lm
해당모듈의 자세한 정보를 출력
!lmi [모듈]
예) !lmi 00400000
반복적인 디버거명령을 실행시키면서, 링크드리스트 정보를 출력함
!list
예) !list "-t ntdll!_LIST_ENTRY.Flink -e -x \"dd @$extret l4; dt ntdll!_RTL_CRITICAL_SECTION_DEBUG @$extret-0x8\" ntdll!RtlCriticalSectionList"
현재 Shared User-mode Page를 출력함
현재 타임존과 시스템루트, TickCount와 시간을 출력함
!kuser
로드된 모듈들의 리로케이션되기전의 주소를 출력한다
!imgreloc [주소]
최근 에러코드를 리턴한다
!gle
에러코드를 가지고 무슨 에러인지 설명을 보여준다
!error [에러코드번호]
글로벌 플래그를 설정 혹은 보여준다!gflag
로드된 모듈들에 대한 커스터마이징(?)된 출력을 해준다.
!for_each_module ["명령어"]
예) !for_each_module .echo @#ModuleIndex : @#Base @#End @#ModuleName @#ImageName @#LoadedImageName
로드된 모듈에서 MZ로 시작되는것을 찾는다
예) !for_each_module s-a @#Base @#End "MZ"
가상메모리에서 이미지헤더를 검색한다 (MZ검색)
.imgscan
표현식을 헥사, 8진수, 2진수, 시간형, Float형, Double 형으로 변환한 형태로 보여준다
.formats [표현식]
원본 : http://www.debuglab.com/knowledge/atldebuginfo.html
1.요약
atlTraceFlags를 이용하여 디버깅시 ATL에 관련된 정보를 출력할 수 있다.
2.본문
MFC와 달리 ATL의 경우는 중요 메쏘드나 프러퍼티들에 trace하여 자신의 상태와 실행위치를 출력해주는 코드가 들어있다. 이러한 trace코드를 활성화 시키기위해서는 trace level과 category를 정의하면 되는데 다음과 같이 정의한다.
#ifndef ATL_TRACE_CATEGORY #define ATL_TRACE_CATEGORY 0xFFFFFFFF #endif #ifdef _DEBUG #ifndef ATL_TRACE_LEVEL #define ATL_TRACE_LEVEL 0 #endif
위의 정의는 ATLBASE.h에 디폴트로 정의된 값이다. 이렇게하면 ATL은 trace를 전혀 하지않는다.
caltegory와 level은 다

[정보보호] 디지털 세상의 CSI, 그 가능성은?
유기 박막 트랜지스터를 위한 게이트 절연막
IT활용 촉진 및 新비즈니스 창출을 위한 IT Innovation 2012


::: 사람과 사람의 교감! 人터넷의 첫 시작! 댓글을 달아주세요! :::