debugger: Highlight the size of jumped-to memory (#34504)
Closes #ISSUE Release Notes: - N/A
This commit is contained in:
@@ -1787,7 +1787,7 @@ impl Session {
|
||||
frame_id: Option<u64>,
|
||||
expression: String,
|
||||
cx: &mut Context<Self>,
|
||||
) -> Task<Option<String>> {
|
||||
) -> Task<Option<(String, Option<String>)>> {
|
||||
let request = self.request(
|
||||
EvaluateCommand {
|
||||
expression,
|
||||
@@ -1801,7 +1801,9 @@ impl Session {
|
||||
);
|
||||
cx.background_spawn(async move {
|
||||
let result = request.await?;
|
||||
result.memory_reference
|
||||
result
|
||||
.memory_reference
|
||||
.map(|reference| (reference, result.type_))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user