User forums > General (but related to Code::Blocks)

Just-in-Time Debugging

(1/1)

lbertolotti:
Can I enable Just-in-Time Debugging in Code::Blocks?

BlueHazzard:
What is just in time debugging? Do you mean the hover with the mouse over a variable and show the value in a tool tip?
This is done with Settings->Debugger->GDB debugger->Evaluate expression under cursor.

BlueHazzard:
If you are talking about post mortem debugging on windows:
https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/enabling-postmortem-debugging

There is no automatic way to set this up for codeblocks, you will have to set the registry entries by yourself. Also i don't think that starting the debugger from command line is at the moment possible. BUT: you can start gdb from the command line...
The same is true for cdb...
The problem here is: Codelbocks is made to debug in a loaded project (paths, files, debugger settings are stored in the project file) If you use post mortem debugging codeblocks does not know where the project is and so he can not load the needed information.... But i am not sure about all this, maybe someone has a solution for you...

lbertolotti:
I mean this:
https://msdn.microsoft.com/en-us/library/5hs4b7a6(v=vs.80).aspx

Navigation

[0] Message Index

Go to full version