C# 클래스 PowerStudio.DebugEngine.DebugModuleBase

상속: IDebugModule3
파일 보기 프로젝트 열기: IntelliTect/PowerStudio 1 사용 예제들

공개 메소드들

메소드 설명
GetInfo ( enum_MODULE_INFO_FIELDS dwFields, MODULE_INFO pinfo ) : int

Gets information about this module.

The MODULE_INFO structure contains the name of the module that is displayed in the Modules window.

GetSymbolInfo ( enum_SYMBOL_SEARCH_INFO_FIELDS dwFields, MODULE_SYMBOL_SEARCH_INFO pinfo ) : int

Retrieves a list of paths that are searched for symbols as well as the results of searching each path.

If the bstrVerboseSearchInfo field of the MODULE_SYMBOL_SEARCH_INFO structure is not empty, then it contains a list of paths searched and the results of that search. The list is formatted with a path, followed by ellipses ("..."), followed by the result. If there is more than one path result pair, then each pair is separated by a "\r\n" (carriage-return/linefeed) pair. The pattern looks like this: {path}...{result}\r\n{path}...{result}\r\n{path}...{result} Note that the last entry does not have a \r\n sequence.

IsUserCode ( int &pfUser ) : int

Retrieves information on whether the module represents user code or not.

LoadSymbols ( ) : int

Loads the symbols for the current module.

This method loads the symbols from the current search path (which can be altered by calling the IDebugEngine3::SetSymbolPath method). This method is preferred over the IDebugModule2::ReloadSymbols_Deprecated method.

SetJustMyCodeState ( int fIsUserCode ) : int

Marks the module as being user code or not.

비공개 메소드들

메소드 설명
ReloadSymbols_Deprecated ( string pszUrlToSymbols, string &pbstrDebugMessage ) : int

메소드 상세

GetInfo() 공개 메소드

Gets information about this module.
The MODULE_INFO structure contains the name of the module that is displayed in the Modules window.
public GetInfo ( enum_MODULE_INFO_FIELDS dwFields, MODULE_INFO pinfo ) : int
dwFields enum_MODULE_INFO_FIELDS A combination of flags from the MODULE_INFO_FIELDS enumeration that specify which fields of pInfo are to be filled out.
pinfo MODULE_INFO A MODULE_INFO structure that is filled in with a description of the module.
리턴 int

GetSymbolInfo() 공개 메소드

Retrieves a list of paths that are searched for symbols as well as the results of searching each path.
If the bstrVerboseSearchInfo field of the MODULE_SYMBOL_SEARCH_INFO structure is not empty, then it contains a list of paths searched and the results of that search. The list is formatted with a path, followed by ellipses ("..."), followed by the result. If there is more than one path result pair, then each pair is separated by a "\r\n" (carriage-return/linefeed) pair. The pattern looks like this: {path}...{result}\r\n{path}...{result}\r\n{path}...{result} Note that the last entry does not have a \r\n sequence.
public GetSymbolInfo ( enum_SYMBOL_SEARCH_INFO_FIELDS dwFields, MODULE_SYMBOL_SEARCH_INFO pinfo ) : int
dwFields enum_SYMBOL_SEARCH_INFO_FIELDS A combination of flags from the SYMBOL_SEARCH_INFO_FIELDS enumeration specifying which fields of pInfo are to be filled in.
pinfo MODULE_SYMBOL_SEARCH_INFO A MODULE_SYMBOL_SEARCH_INFO structure whose members are to be filled in with the specified information. If this is a null value, this method returns E_INVALIDARG.
리턴 int

IsUserCode() 공개 메소드

Retrieves information on whether the module represents user code or not.
public IsUserCode ( int &pfUser ) : int
pfUser int Nonzero (TRUE) if module represents user code, zero (FALSE) if it does not.
리턴 int

LoadSymbols() 공개 메소드

Loads the symbols for the current module.
This method loads the symbols from the current search path (which can be altered by calling the IDebugEngine3::SetSymbolPath method). This method is preferred over the IDebugModule2::ReloadSymbols_Deprecated method.
public LoadSymbols ( ) : int
리턴 int

SetJustMyCodeState() 공개 메소드

Marks the module as being user code or not.
public SetJustMyCodeState ( int fIsUserCode ) : int
fIsUserCode int Nonzero (TRUE) if the module should be considered user code, zero (FALSE) if it should not.
리턴 int