question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"View" on a Task node should show me the task element, not the beginning of the target that includes it

See original GitHub issue

When I right click => “View” on a successful Task node (double-click), it brings me to the top of the Target that defines it, rather than the task itself. In a target that executes many of the same task type, this can make it hard to find which one in the source is responsible for that node. (It also might simply be a long enough target that scrolling through it to find the task every time I click on the node is an annoyance.)

(When a task hits an error, it works nicely: the error message includes the line number and “View” takes me there.)

I suspect this is a logging limitation–I don’t see line numbers in the detailed XML file or diag logging. It also might not be worth it to push all this info all the way through the logs to the UI (file size, perf, etc). But, I figured I’d ask in case that’s wrong. 🙂

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
KirillOsenkovcommented, Mar 15, 2022

I think the fix from https://github.com/dotnet/msbuild/pull/6399 should have propagated everywhere now, so this should be fixed in all recent binlogs.

1reaction
KirillOsenkovcommented, Jul 27, 2020

Let’s leave it open, maybe I’ll file an MSBuild bug someday.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Task Element of Target (MSBuild)
Learn about the Task element of MSBuild Target, which creates and executes an instance of an MSBuild task.
Read more >
Understand node types: primary, core, and task nodes
Understand the difference between primary, core, and task nodes in an Amazon EMR cluster.
Read more >
Handling Events
The addEventListener method allows you to add any number of handlers so that it is safe to add handlers even if there is...
Read more >
The 10 Most Common JavaScript Issues Developers Face
If you need help figuring out why your JavaScript isn't working, consult this list of the 10 most common JavaScript issues from a...
Read more >
Event delegation
Our task is to highlight a cell <td> on click. ... It will use event.target to get the clicked element and highlight it....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found