Microsoft MVP성태의 닷넷 이야기
VS.NET IDE : 27. Func-eval 기능 [링크 복사], [링크+제목 복사],
조회: 14339
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 

Func-eval is evil
; http://blogs.msdn.com/jmstall/archive/2005/03/23/400794.aspx

Func-eval abort is evil
; http://blogs.msdn.com/jmstall/archive/2007/03/13/func-eval-abort-is-evil.aspx

위의 글에서 가장 중요한 점이 있다면!

"
In order to funceval, the debugger needs to hijack a thread and then resume the debuggee under the covers so that it can run the function. The debugger gets notified when the function completes and then restores that thread to its pre-funceval state.
"

그렇군요. "너무나 당연하게! 자동으로!" VS.NET Watch 창에서 제공된다고 생각했는데... 그 호출을 위해서는 해당 쓰레드위에서만 가능하다는 생각을 미처 못했습니다.

그렇다면 property 를 만들때 이런 면도 고려를 해야 겠군요. 오호...! 이건 쉽게 생각할 문제가 아닌듯 합니다. VS.NET 에서의 개발을 위해서 "개발 구조"를 바꿔야 하지 않을까 라는 생각을 하게 만드니...

물론, 선택은 있습니다. "Tools" 메뉴 / " Options" 메뉴를 선택해서 "Debugging" / "General" 범주의 "Allow property evaluation in variables windows" 옵션을 해제하면 됩니다. 해당 디버그 옵션 조정을 하지 않고, 개발 구조를 유지하려면... Watch 윈도우의 변수 등록을 조심해야 겠습니다.








[최초 등록일: ]
[최종 수정일: 3/14/2007]


비밀번호

댓글 작성자
 




... [46]  47 
NoWriterDateCnt.TitleFile(s)
43정성태12/28/200411995VSMT 소개: Physical Server to Virtual Server
68정성태3/2/200511838    답변글 [추가]: VSMT 소개: ADS 1.0
42정성태12/27/200411226VS.NET 2005 : What should I do if I get a message that says, "Team system server is not available; please contact your system administrator."?
41정성태12/25/200411655Ten things to know before starting VSTS Foundation Server Installation
40정성태12/25/200411578SQL Server 2005 에서 반가운 기능 : 재귀 SELECT 와 ROW_NUMBER
39정성태12/24/200410678VS.NET 2005 : Navigate the .NET Framework and Your Projects with "My"파일 다운로드1
38정성태12/24/200410789Smart Client Architecture and Design Guide
37정성태12/24/200411454Translation Guide: Moving Your Programs from Managed Extensions for C++ to C++/CLI
36정성태12/23/20041112813가지 주의 사항: Visual C++ .NET 프로그램을 Visual Studio 2005로 이식하기 전에 알아야 할 13가지 내용
35정성태12/26/200411573Windows Sharepoint Services 를 설치한 이후 ASP.NET 오류 문제파일 다운로드1
34정성태12/9/200411722SQL Server 구성이 실패파일 다운로드1
33정성태12/7/200411670RSS 에 대한 자세한 설명
32정성태12/5/200411420How To Troubleshoot MS DTC Firewall Issues
31정성태12/5/200411072HOWTO: Enable DTC Between Web Servers and SQL Servers Running Windows Server 2003
29정성태12/4/200410892IP 변경하는 NETSH 명령
28정성태11/20/200411249혼합 DLL 로드 문제
27정성태11/20/200411062Web Services Enhancements 2.0을 사용한 프로그래밍
26정성태11/20/200411480SQL 주입 공격을 사전에 차단하는 방법
25정성태10/20/200411095Invoking .NET Events from Native C++
24정성태10/16/200410492Windows Rights Management 서비스(RMS) 1.0
23정성태10/16/200411199[ASP.NET] Working with Client-Side Script
21정성태10/3/200411258HOWTO: ASP.NET 유틸리티를 사용하여 자격 증명 및 세션 상태 연결 문자열 암호화
20정성태10/3/200411291IE 에서 XML 파일을 보는 경우, XMLDocument 를 얻어내는 방법.
22정성태10/3/200412002    답변글 [내용 보강] .NET 언어에서 IE에 보여진 XMLDocument 개체 접근하기
19정성태10/3/200411031.NET 리모팅에서 MBR 개체를 전송하는 경우의 xxx.exe.config 파일 설정방법
18정성태9/19/200411770HTML SELECT 요소에 OPTION 요소를 채우는 C/C++ 예제파일 다운로드1
... [46]  47