Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The GetCodeLevel method returns the current code level and is mainly used when stepping through code.
Syntax
HRESULT GetCodeLevel(
[out] PULONG Level
);
Parameters
[out] Level
Receives the current code level. Level can take one of the values in the following table.
| Value | Description |
|---|---|
| DEBUG_LEVEL_SOURCE | Source mode. When stepping through code on the target, the size of a single step will be a line of source code. |
| DEBUG_LEVEL_ASSEMBLY | Assembly mode. When stepping through code on the target, the size of a single step will be a single processor instruction. |
Return value
This method can also return error values. See Return Values for more details.
| Return code | Description |
|---|---|
|
The method was successful. |
Remarks
For more information about the code level, see Using Source Files.
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Desktop |
| Header | dbgeng.h (include Dbgeng.h) |