Bug 292745 - Clickable assert errors
Summary: Clickable assert errors
Status: RESOLVED DUPLICATE of bug 354695
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: run support (other bugs)
Version First Reported In: git master
Platform: Compiled Sources Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2012-01-29 01:38 UTC by David
Modified: 2016-01-05 09:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David 2012-01-29 01:38:14 UTC
Version:           git master (using Devel) 
OS:                Linux

Currently when an assert() fails, KDevelop prints

PatchBasedInpaintingNonInteractive: /media/portable/Projects/PatchBasedInpaintingDevelop/Inpainters/MaskedGridPatchInpainter.hpp:45: void MaskedGridPatchInpainter<FillStatusMap>::operator().... Assertion `get(fillStatusMap, source_node)' failed.

but you cannot click on this output to go to the specified file and line.

Reproducible: Always

Steps to Reproduce:
Make a failing assertion (assert()).

Actual Results:  
Output is not clickable.

Expected Results:  
Output should be clickable.
Comment 1 Milian Wolff 2012-02-06 21:26:24 UTC
yup, that would indeed be nice.
Comment 2 Kevin Funk 2016-01-04 23:31:08 UTC
This is already implemented for Q_ASSERT-style output.

Check kdevplatform.git:outputview/outputfilteringstrategies.cpp -- Patches adding support for assert() welcome.

Marking as junior-job
Comment 3 Milian Wolff 2016-01-05 09:20:29 UTC
sadly, this is not so easy b/c assert messages usually emit just the file name, not the full path.

see bug 354695 for more info and a preliminary patch.

*** This bug has been marked as a duplicate of bug 354695 ***