You can use built-in profiling support: after launching vim do
:profile start profile.log
:profile func *
:profile file *
" At this point do slow actions
:profile pause
:noautocmd qall!
(unlike quitting noautocmd
is not really required, it just makes vim quit faster).
Note: you won’t get information about functions there were deleted before vim quit.
Related Contents:
- Profiling Vim startup time
- Is there “Break on Exception” in IntelliJ?
- Autocompletion in Vim
- Is it possible to “decompile” a Windows .exe? Or at least view the Assembly?
- How to run mvim (MacVim) from Terminal?
- How can I make gdb save the command history?
- Accessing console and devtools of extension’s background.js
- How to jump to a specific character in vim?
- Chrome Development Tool: [VM] file from javascript
- vim “modifiable” is off
- Do you debug C++ code in Vim? How? [closed]
- Multiple commands in gdb separated by some sort of delimiter ‘;’?
- Are there any HTTP/HTTPS interception tools like Fiddler for mac OS X? [closed]
- What is a debugger and how can it help me diagnose problems?
- Step by step interactive debugger for Rust?
- how to debug the js in jsfiddle
- React Native app stuck on blank white screen with remote debugging using Nuclide
- Best ways to fit bug fixing into a Scrum process? [closed]
- How to view a DataTable while debugging
- Tool for debugging makefiles
- How to debug a Gradle build.gradle file (in a debugger, with breakpoints)?
- Enumerate or list all variables in a program of [your favorite language here] [closed]
- How do I see the expanded macro code that’s causing my compile error?
- IIS does not list a web site that matches the launched URL
- Debugging Content Scripts for Chrome Extension
- How to get more info when the “Aw Snap” screen shows up in Chrome?
- How to use trace and dbg in Erlang to debug and trace my program?
- What is the best way to test and interact with inner functions defined inside a toplevel function?
- Debugging xUnit tests in .NET Core and Visual Studio Code
- Debug PostgreSQL function using pgAdmin
- using ipdb to debug python code in one cell (jupyter or Ipython)
- What’s the toughest bug you ever found and fixed? [closed]
- `po` gives `error: :1:1: error: use of unresolved identifier`
- How to “debug” Haskell with printfs?
- Visual Studio not breaking on user-unhandled exceptions
- Open last closed file in a new tab in Vim
- How do I debug HTML and JavaScript together in VSCode (Visual Studio Code)?
- IntelliJ IDEA Debugger does not show null element in a list
- How to programmatically detect debug mode in nodejs?
- How to close layout SRC windows in gdb?
- How do I debug AppleScript?
- GDB: How to list all source files used for compilation
- How to log all executed elasticsearch queries
- How do I skip external code when debugging in VS Code
- How do I disable the Symfony 2 profiler bar?
- Are there any online tools to test SVG paths?
- Starting to learn Windbg [closed]
- What is the difference between Step in, Step out and Step Over?
- Debugging a custom function in Google Apps Script
- Execute a script directly within vim/mvim/gvim