Skip to content
This repository was archived by the owner on Jun 25, 2021. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ Tools->Options->Build & Run->Kits, by setting Qt version to any Qt version >=

### Build plugin and configure GDB

To build this plugin, create a `build` folder, open a terminal window inside it
and run:
To build this plugin, run:

```shell
$ mkdir build && cd build
$ qmake .. BUILD_MODE=release PREFIX=/path/to/installation/folder
$ make -j4
$ make install
Expand Down
4 changes: 2 additions & 2 deletions resources/giwscripts/giwtypes/eigen3.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def get_buffer_metadata(self, obj_name, picked_obj, debugger_bridge):
which should be quite common in Eigen.
"""

type_str = str(picked_obj.type)
type_str = str(picked_obj.type.strip_typedefs())
is_eigen_map = 'Map' in type_str
# First we need the python object for the actual matrix type. When
# parsing a Map, the type is the first template parameter of the
Expand Down Expand Up @@ -106,6 +106,6 @@ def is_symbol_observable(self, symbol, symbol_name):
type as well
"""
# Check if symbol type is the expected buffer
symbol_type = str(symbol.type)
symbol_type = str(symbol.type.strip_typedefs())
type_regex = r'(const\s+)?Eigen::(\s+?[*&])?'
return re.match(type_regex, symbol_type) is not None
4 changes: 2 additions & 2 deletions resources/giwscripts/giwtypes/opencv.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def is_symbol_observable(self, symbol, symbol_name):
type as well
"""
# Check if symbol type is the expected buffer
symbol_type = str(symbol.type)
symbol_type = str(symbol.type.strip_typedefs())
type_regex = r'(const\s+)?cv::Mat(\s+?[*&])?'
return re.match(type_regex, symbol_type) is not None

Expand Down Expand Up @@ -124,6 +124,6 @@ def get_buffer_metadata(self, obj_name, picked_obj, debugger_bridge):
}

def is_symbol_observable(self, symbol, symbol_name):
symbol_type = str(symbol.type)
symbol_type = str(symbol.type.strip_typedefs())
type_regex = r'(const\s+)?CvMat(\s+?[*&])?'
return re.match(type_regex, symbol_type) is not None