awulkiew / graphical-debugging-vscode Goto Github PK
View Code? Open in Web Editor NEWGraphicalDebugging extension for Visual Studio Code
License: MIT License
GraphicalDebugging extension for Visual Studio Code
License: MIT License
In context of contour operations especially union and intersect it is often valuable to know in which direction contours are described.
Would I be able to put together a JSON file to provide Java support?
it would be nice to have support for allocated memory chunks and have them displayed like in MSVC debugger, for example
ptr, 1024
with float *ptr this will be the same as an array ptr[1024].
In order to make it easier to understand the shape of geometry (especially ellipses and long rectangles) it would be very helpful to scale x and y axes the same.
I have added boost.json
to my workspace with the following content,
{
"name": "graphicaldebugging",
"language": "cpp",
"aliases": [
{
"name": "bg_types::Point",
"type": "boost::geometry::model::point<double,2,boost::geometry::cs::cartesian>"
},
{
"name": "bg_types::Polygon",
"type": "boost::geometry::model::polygon<boost::geometry::model::point<double,2,boost::geometry::cs::cartesian>,true,true,std::vector,std::vector,std::allocator,std::allocator>"
}
]
}
But that doesn't seem to be working. Does *.json
file need to have any specific name?
well, title says it all: after hitting a break-point it takes at least half a minute until the results are displayed
I want to write a self configuration json file.
Here is the c++ code:
struct Point{
int x;
int y;
};
using ring = std::vector;
How can I write the correct json?
Hi,
First of all thanks a lot for the work you put into this extension. It's really helpful !
I've been trying to add support for Eigen::TensorFixedSize
class (amongst other ones).
Here is a screenshot of a variable I'm trying to draw :
To catch this type I added this entry in a graphicaldebugging.json file :
{
"name": "graphicaldebugging",
"language": "cpp",
"types": [
{
"type": "Eigen::TensorFixedSize<.+>",
"kind": "container",
"array": {
"start": "$this.m_storage.m_data",
"size": "$this.m_storage.Size"
}
}
]
}
I deduced the start
and size
field values from the debugger panel :
Yet the type remains unknown
.
PS : is there a way to enable a debug console log for the extension ? This would be helpful to identify what I'm missing
This is an amazing extension and it works out of the box for many of my team's use cases--greatly enhanced our productivity! I have a quick question: is it possible to add support to VS Code Jupyter Notebook Debugger? Currently when trying to do so, the Graphical Watch panel would show the type of geometry, followed by "unknown" (even though the geometry is clearly valid), and the Graphical Watch display shows nothing.
Seems like Jupyter Notebook VS Code debugger requires some additional installation https://github.com/microsoft/vscode-jupyter/wiki/Setting-Up-Run-by-Line-and-Debugging-for-Notebooks
If you can point me to possibly where the issue might be, I can attempt to open a PR myself?
From the documentation, it looks like this tool works for boost geometry types. I wondering if we can get this to visualize custom geometry types. At the moment, I am working with AlignedBox from Eigen Geometry library. Any suggestions about visualizing this would be greatly appreciated.
The graphical-debugger addon is just want I am looking for, ..
but when I use it with Cortex-Debug (ARM Cortec-M GDB Debugger),
I cannot get it to load and show variables, when I make a breakpoint.
Not even a simple Int array ?
Using with an other debugger it works OK.
Any hints or fix ?
ssma
Hello,
This extension is one of a kind.
Looking through the supported types in Python I saw that it was missing Numpy arrays.
It would be very nice to see support for this in the future, if guided to the correct spot I might be able to help with this.
Kind regards,
Caspar
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.