Skip to content

Releases: certinia/debug-log-analyzer

1.10.0 : Ui facelift, tweaked the database view and more

19 Oct 15:32
cbc4a61
Compare
Choose a tag to compare

Added

  • Redesigned Navigation Bar (#249)
    • Help moved to icon in top right
    • Tabs now look and feel like vscode tabs
    • Log title redesigned for a more modern feel
    • Log Duration + Log Size now displayed as badges
    • Log issues show in a separate dialog when the issues count tag is clicked on the navigation bar
  • Database View tweaks (#279)
    • Show full SOQL/ DML text instead of truncating
    • Show the detail panel by default, including call stack and SOQL issues.
  • Database, Call Tree and Analysis View (#279)
    • New sort icon (up and down arrow) when a column is in an unsorted state
  • Analysis View (#279)
    • Show full event text instead of truncating
  • Show skeleton loading UIs / UI Outlines when waiting for the log to be processed e.g when running Log: Retrieve Apex Log And Show Analysis and Log: Show Apex Log Analysis (#252)
    • This could be waiting for the log to download from the org or to be parsed and processed.
  • What's new notification to open the change log on upgrades (#210)
  • Show the Certinia logo next to the currently opened Log Analyzer tab and next to the file name on the file list in the quick open menu (#250)
  • The Log Analyzer will be published as a pre-release extension weekly (#300)
    • Click Switch to Pre-Release Version on the banner to get bleeding edge changes and help us to resolve bugs before the stable release.

Changed

  • Hyperlink styling to align with VSCode (#248)

Fixed

  • Export to CSV not working when a log was opened in a new VSCode window and not associated to a workspace (#363)

Full Changelog: 1.7.1...1.10.0

1.7.1: Bug Fixes

10 Aug 11:02
744dec3
Compare
Choose a tag to compare

What's Changed

Fixed

  • Log: Show Apex Log Analysis CodeLens not showing until another command is used first (#340)
  • Go to Call Tree from SOQL detail Call Stack on the Database View (#346)

Full Changelog: 1.7.0...1.7.1

1.7.0 : Redesigned Call Tree + Analysis View, export to CSV and more

04 Aug 13:44
063c69e
Compare
Choose a tag to compare

Added

  • Call tree: Redesigned view (#297)
    • All columns are sortable ascending or descending by clicking the header
    • Child rows will be sorted within their parent
    • The name column has 3 states call order, ascending or descending
    • Columns for DML Count, SOQL Count, Throws Count, Rows Count, Total Time and Self Time
    • Range filtering with min and max values for the Total Time and Self Time columns
    • Keyboard navigation to move between selected rows. Use the up and down arrows for up and down and left and right to collapse or expand the tree
    • Virtualised rows means much better performance
  • Analysis: Redesigned view (#294)
    • All columns are sortable ascending or descending by clicking the header
    • Columns to show Event Type, Aggregated Total Time and Aggregated Self Time
    • Virtualised row rendered to greatly improve performance
    • Group by Event Type to show aggregated totals for each type e.g See the Total Time for all METHOD_ENTRY events
    • Keyboard navigation to move between selected rows. Use the up and down arrows for up and down
  • Analysis: Export data (#25)
    • Copy data to clipboard directly from Analysis grid by focusing on the grid and using ctrl + c or cmd + c
    • Export to CSV file using the Export to CSV action in the grid header menu
  • Database: Export data (#25)
    • Copy data to clipboard directly from either the DML or SOQL grid by focusing on the grid and using ctrl + c or cmd + c
    • Export to CSV file using the Export to CSV action in the grid header menu
  • Database: keyboard navigation (#294)
    • Keyboard navigation to move between selected rows. Use the up and down arrows for up and down. Left and right arrows will hide / show the detail panel,

Changed

  • Increase the supported log size for the go to log hyperlink to larger than 50MB (#254)
  • Renamed Log: Load Apex Log For Analysis to Log: Retrieve Apex Log And Show Analysis (#288)
  • Improve performance of Log: Retrieve Apex Log And Show Analysis (#255)
  • Update minimum supported vscode version to v1.74.0 (#280)
  • Support for more undocumented log events such as NBA_*, ORG_CACHE_*, SESSION_CACHE_*, FUNCTION_INVOCATION_* and more (#246)

Fixed

  • ENTERING_MANAGED_PKG events would wrongly have other events rollup into them (#320)
    • Note: This now means some events will no longer be rolled up into ENTERING_MANAGED_PKG
    • e.g SOQL_BEGIN will be between two ENTERING_MANAGED_PKG events instead of nested inside one
  • Database page scrolls up when a grouped row neat bottom of grid is clicked (#312)

Full Changelog: 1.6.0...1.7.0

1.6.0 : Redesigned Database View, SOQL Analysis + Calltree improvements

19 May 16:14
0e55062
Compare
Choose a tag to compare

Added

  • Redesigned Database tab (#219)
    • All columns are sortable ascending /descending by clicking the header
    • Added columns DML/ SOQL, Row Count, Total Time
    • Added specific columns for SOQL Selectivity + Aggregations
    • Added detail panel which is shown by clicking a row which shows the call stack for the specific DML / SOQL, clicking a link will go to the main call tree tab
    • The detail panel also shows a list of potential SOQL performance issues
    • Totals shown at the bottom of each column
    • SOQL/ DML is grouped by name by default, grouping can be removed to show the SOQL/ DML as a flat list
  • Log: Show Apex Log Analysis code lens to the top of the currently open log file (#199)
    • This is a faster way to open the analysis
  • Support for more file types when opening the analysis (#199)
    • The analysis can now be shown for any .log or .txt file that starts with the Apex debug log header
    • e.g 57.0 APEX_CODE,FINE;APEX_PROFILING,FINE;CALLOUT,NONE;DB,FINEST;NBA,INFO;SYSTEM,DEBUG;VALIDATION,INFO;VISUALFORCE,FINE;WAVE,INFO;WORKFLOW,INFO
  • The row count to the timeline tooltip for events which have one e.g SOQL_EXECUTE_BEGIN, DML_BEGIN, SOSL_EXECUTE_BEGIN (#129)
  • Calltree - Breadcrumbs shown at the top when clicking a row (#142)
  • Calltree - displaying variable value as well as variable names for VARIABLE_ASSIGNMENT events (#235)
  • Calltree - pretty formatting of JSON in VARIABLE_ASSIGNMENT events (#235)

Changed

  • Goto code from click to CMD/CTRL and click. Breadcrumbs are shown on click instead (#142)
  • End time of events that start before MAXIMUM DEBUG LOG SIZE REACHED but have no matching end event, will now have their duration end before the MAXIMUM DEBUG LOG SIZE REACHED instead of extending to the very end of the log (#264)
    • This provides more accurate durations overall because we can not know what occured during the MAXIMUM DEBUG LOG SIZE REACHED gap.

Fixed

  • Timeline not showing events if the event occurs outside the EXECUTION_STARTED + EXECUTION_FINISHED events (#180)
  • Timeline incorrectly showing some VF_APEX_CALL_START events when dealing with ApexPage messages (#212)
  • Timeline tooltip not shown when zooming (#242)
  • Font sizes not correctly scaling in some places (#238)

New Contributors

Full Changelog: 1.5.2...1.6.0

1.5.2

08 Nov 10:25
0994480
Compare
Choose a tag to compare

What's Changed

Fixed

  • Spaces not supported in output directory path when running Log: Load Apex Log For Analysis command (#187)
  • Fixes ENTERING_MANAGED_PKG events not being displayed on timeline (#188)

Full Changelog: 1.5.1...1.5.2

1.5.1: fixes timeline colors not used from vscode preferences

04 Oct 15:55
faa74ed
Compare
Choose a tag to compare

What's Changed

Fixed

  • fix: custom colors for timeline from vscode prefs (#169)

Full Changelog: 1.5.0...1.5.1

1.5.0: Salesforce Code Builder support and SOQL, DML + Exception counts

08 Aug 14:07
8970006
Compare
Choose a tag to compare

Added

  • Calltree filtering to hide nodes where total duration is less than a given time (#112)
  • An EXCEPTION_THROWN marker (T) to supplement theDML_BEGIN (D) and SOQL_EXECUTE_BEGIN (S) markers on parent nodes (#135)
  • Some missing line types: DUPLICATE_DETECTION_BEGIN, DUPLICATE_DETECTION_END and DUPLICATE_DETECTION_RULE_INVOCATION (#139)
  • Salesforce Code Builder Support (#23)
    • Apex Log Analyzer to be published to the Open VSX Registry as well as the VSCode Marketplace

Changed

  • Rounded the log size on the Log: Load Apex Log For Analysis command results to 2DP (#91)
  • Improved log parsing to tolerate false exits (#88)
    • Checks for false exits before un-winding the call stack, by checking down the stack to see if the EXIT matches something already on the stack.
  • Greatly reduced CPU usage when Timeline is open but no changes are occurring (#90)
  • Improved performance getting log file from an org when using the Log: Load Apex Log For Analysis command (#123)
  • More easily differentiate between "Flows" and "Process Builders" in the timeline and call tree (#114)
  • Counts on Calltree for Throw (T), DML (D) & SOQL (S) markers, which shows how many of each statement type are descendants of a node (#135)

Fixed

  • Some detail lines not being shown on calltree (#130)
  • Tooltip not hiding when moving to a part of timeline where the tooltip should not be shown (#131)
  • Timeline background shown as black in some browsers (#137)
  • The TRUNCATED marker (for methods which were not complete at the end of the log) not being shown (#135)
  • The hide checkboxes not always un-hiding (#135)
  • Some NullPointers (#135)

New Contributors

Full Changelog: 1.4.2...1.5.0

1.4.2: Bug Fixes

14 Mar 09:13
41e9063
Compare
Choose a tag to compare

Fixed

  • Timeline content disappearing when switching tabs + resizing (#99)
  • Timeline flickering/resizing when tooltip moved to bottom right (#87)
  • Timeline not displaying VF_APEX_CALL_START log events (#97)
  • Incorrect Totaltime on status bar and analysis tab (#95)
    • Now uses the timestamp of the last EXECUTION_FINISHED event to determine total time
    • If there are no EXECUTION_FINISHED events the last event with a timestamp is used
  • Log parsing not handling both CRLF and LF line endings (#108)

Full Changelog: 1.4.1...1.4.2

1.4.1: Smaller extension size

06 Jan 17:47
92eac0d
Compare
Choose a tag to compare

Changed

  • Reduced extension size

Fixed

  • Corrected README.md / CHANGELOG.md

1.4.0: Improved flamegraph and many many other things...

06 Jan 16:11
de79615
Compare
Choose a tag to compare

Added

  • Database tab shows the methods each SOQL or DML statement was made from
    • The method name can be clicked to navigate to it in the call tree
  • Timeline shows a tooltip for log events
    • Shown when hovering the red (errors), blue (unexpected-end) and green (skipped-lines) sections on the timeline.
  • Zoom on timeline
    • zoom to an accuracy of 0.001ms, time markers are shown with a ms time value and white line e.g 9600.001 ms
    • scroll up and down on the mouse to zoom in and out
    • zoom is based on position of mouse pointer, ensuring that position is kept on screen when zoomed in or out
    • scroll left and right on the mouse to move the time line left are right, when zoomed
    • click the mouse down and drag to move the timeline around both in the x and y direction, when zoomed
  • Specify custom timeline event colors in vscode preferences
  • Support for all known log event types
    • Includes events for Database, Workflow, NBA, Validation, Callout, Apex Code, Apex Profiling, Visualforce and System categories.

Changed

  • Convert from scala to typescript
  • Load log shows loading feedback whilst waiting for logs to be retrieved
  • Open an empty log view whilst waiting for selected log to be downloaded, parsed and rendered
  • Log will be loaded from disk if previously downloaded
  • Renamed the Log: Show Log Analysis command to Log: Show Apex Log Analysis
    • For consistency with the Log: Load Apex Log For Analysis command
  • Block text on call tree displayed on new lines rather than one line separated by a | character
  • Call tree shows text for all log lines and not just time taken
  • Faster log loading due to a change in how the JavaScript is loaded on the page
  • Faster log parsing and timeline rendering
  • Scroll on the calltree to allow scrolling content to top of screen instead of only the bottom
  • FLOW_START_INTERVIEWS log lines on the calltree and timeline will show either the Process Builder or Flow name after the chunk number

Fixed

  • Hide details, hide system calls and hide formulas on the call tree to work again

Removed

  • Timeline Shrink-to-fit checkbox was replaced with zoom feature

New Contributors

  • @kjonesffdc made their first contribution in #20
  • @lukecotter made their first contribution in #24
  • @lcotterffdc made their first contribution in #83

Full Changelog: 1.3.5...1.4.0