Description:

xhtmldbg is a XHTML/HTML Website Debugger for Web developers and End users.
This software provides you with the facility to check and analyze web page content directly.

General xhtmldbg Requirements:
Qt 4 >= 4.7.0 (required) http://qt.nokia.com/products/
KDE 4 >= 4.6.0 (required) kde.org
libQTidy >= 0.8.2 (required) http://qtidy.hjcms.de
QTidy >= 0.7.2 (required) http://qtidy.hjcms.de
qtidyrc >= 0.7.2 (required) http://qtidy.hjcms.de
Tidy >= Released on 25 March 2009 (required) http://tidy.sourceforge.net
Oxygen Icon Theme >= 4.4.0 (required) ftp://ftp.kde.org/pub/kde/stable/
Bind Utils
libraptor >= 1.4.19 (required)
libGeoIP >= 1.4.5 (required)
QJson >= 0.7.1 (optional)

General xhtmldbg Features:
Real XHTML Source Code Inspection with Tidy
print PostVars
print Header Definitions
print Cookie Definitions
print Document Tree
print CSS StyleSheet with clicked DomTree Elements
JavaScript Console Messages from WebKit
CSS Validation with W3C CSS Validator

Changelog:

5 years ago

Version 0.8.13
- New features included,WCAG10, Stylesheet Editor... - The usual bugfixes and a lot of code cleanup and refactoring were done.

Version 0.8.12
- porting KDE 4 ready
- add 100% application/x-qt-plugin support
- many minor bug fixes and changes


Version 0.8.9
- This version fixes some bugs.

Version 0.8.8
- add Build ENVIROMENT Variable GEOIP_DBBASE_DIR and cmake GEOIP_DATABASE_PATH flag.
- Stable and OpenSUSE Build Service packages was build

Version 0.8.8.rc3
- This version fixes some minor bugs with multible Cookie requests
- Add GeoIP Support

Version 0.8.8.rc1
- This version fixes some minor bugs
- The Feed Parser was reorganized and now supports ATOM-1.0, RSS-1.0 and RSS-2.0 with partial Namspace Support.

Version 0.8.7
- Bugfix: Cookies Dialog
- Add: RFC Browser Plugin
- Add: RSS/Atom Inspector/Parser

Version 0.8.6.rc6:
- Bugfix: Cookies Dialog and brocken Connections
- Add: SEO Toolbar History Completer
- Remove: Unstable Plugins from this target into separate PlugIn builds
- Merge: Cookies, Post and Header TreeWidgets into HeaderDock
- Add: GCC -fPIE -pi support

Version 0.8.6.rc4:
- this minor version contains some smaller fixes for cmake on 64bit systems

Version 0.8.6.rc3:
- SelfHtml and Inspector PlugIns was added.
- User-Agents Configuration Dialog completely rewritten.
- Lot of bugfixes and code refactoring were done.

Version 0.8.5:
- Minor Bugfixes, GCC Visibility and cmake Build System.

6 years ago

Temar

Such a great program, but no Ubuntu packages. Please provide packages for Ubuntu!

Report

6 years ago

greggel

I've written Gentoo ebuilds for libQTidy and xhtmldbg. They're still waiting to become part of the sunrise overlay.

See:

http://bugs.gentoo.org/show_bug.cgi?id=322579
http://bugs.gentoo.org/show_bug.cgi?id=322585

Report

6 years ago

conraid

with rc4 all ok
32 and 64bit

Report

6 years ago

conraid

ehm... 0.8.6.rc3 in Slackare 13.1

32bit all ok
64bit:
[ 9%] Building CXX object src/docking/CMakeFiles/Docking.dir/cookiesdock.cpp.o
Linking CXX shared library ../../app/libxhtmldbg-1.0.so
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbgplugininfo.cxx.o: relocation R_X86_64_PC32 against symbol `xhtmldbg::PluginInfo::staticMetaObject' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [app/libxhtmldbg-1.0.so.0.8.6] Error 1
make[1]: *** [src/interface/CMakeFiles/xhtmldbginterface.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 9%] Building CXX object src/docking/CMakeFiles/Docking.dir/headerdock.cpp.o
Linking CXX static library ../../app/libDocking.a
[ 9%] Built target Docking
make: *** [all] Error 2


I used this FLAGS also
-O2 -fPIC -pipe -fomit-frame-pointer

Report

6 years ago

undefined

I'm a trifle bemused, this classes have no changes from last version to this minor.
but your cflags are little contradictorily.
You didn't need to set -fPIC this will already done by cmake see CmakeLists.txt at line 87
Please recompile with more debugging messages and tell me again this error
cmake \
-DCMAKE_CXX_FLAGS:STRING="-O2 -Wformat -Woverloaded-virtual -pedantic -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations -pipe" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_BUILD_TYPE:STRING=Debug \
-DXHTMLDBG_BUILD_VERBOSE:BOOL=ON \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON ../

and for certain that old Developement Files didn't exists
see also my cmake.sh file at project main directory

Report

6 years ago

undefined

PPS: do not set -pedantic with QWeblement see also https://bugs.webkit.org/show_bug.cgi?id=35515#c2

Report

6 years ago

conraid

i don't understand :(
now with make and your FLAGS

first test

[ 40%] Building CXX object src/interface/CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugger.cpp.o
cd /tmp/pkg/xhtmldbg-0.8.6.rc3/build/src/interface && /usr/bin/c++ -Dxhtmldbginterface_EXPORTS -DQT_DLL -DQT_XML_LIB -DQTIDY_VERSION_STRING=\"0.8.2\" -DQT_DLL -DQT_DLL -DQT_XML_LIB -D_BSD_SOURCE -DQT_NO_EXCEPTIONS -DHAVE_VISIBILITY -DQT_DEBUG -DQT_DEBUG -O2 -Wformat -Woverloaded-virtual -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations -pipe -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_VISIBILITY -fstack-protector -Wstack-protector -D_FORTIFY_SOURCE=2 -fPIE -g -Wall -W -Wextra -Wno-long-long -DXHTMLDBG_DEBUG -DXHTMLDBG_DEBUG_VERBOSE -fopenmp -g -fPIC -I/usr/lib64/qt/include -I/usr/lib64/qt/include/QtWebKit -I/usr/lib64/qt/include/QtDBus -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QTidy -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/include/tidy -I/tmp/pkg/xhtmldbg-0.8.6.rc3/build/src/interface -I/tmp/pkg/xhtmldbg-0.8.6.rc3/src/interface -o CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugger.cpp.o -c /tmp/pkg/xhtmldbg-0.8.6.rc3/src/interface/xhtmldbgplugger.cpp
Linking CXX shared library ../../app/libxhtmldbg-1.0.so
cd /tmp/pkg/xhtmldbg-0.8.6.rc3/build/src/interface && /usr/bin/cmake -E cmake_link_script CMakeFiles/xhtmldbginterface.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -Wformat -Woverloaded-virtual -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations -pipe -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_VISIBILITY -fstack-protector -Wstack-protector -D_FORTIFY_SOURCE=2 -fPIE -g -Wall -W -Wextra -Wno-long-long -DXHTMLDBG_DEBUG -DXHTMLDBG_DEBUG_VERBOSE -fopenmp -g -shared -Wl,-soname,libxhtmldbg-1.0.so.0 -o ../../app/libxhtmldbg-1.0.so.0.8.6 CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbgplugininfo.cxx.o CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbgplugger.cxx.o CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbginterface.cxx.o CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugininfo.cpp.o CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugger.cpp.o /usr/lib64/qt/lib/libQtCore.so /usr/lib64/qt/lib/libQtGui.so /usr/lib64/qt/lib/libQtXml.so
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbgplugininfo.cxx.o: relocation R_X86_64_PC32 against symbol `xhtmldbg::PluginInfo::staticMetaObject' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [app/libxhtmldbg-1.0.so.0.8.6] Error 1
make[2]: Leaving directory `/tmp/pkg/xhtmldbg-0.8.6.rc3/build'
make[1]: *** [src/interface/CMakeFiles/xhtmldbginterface.dir/all] Error 2
make[1]: Leaving directory `/tmp/pkg/xhtmldbg-0.8.6.rc3/build'
make: *** [all] Error 2


second test

[ 17%] Building CXX object src/interface/CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugger.cpp.o
cd /tmp/pkg/xhtmldbg-0.8.6.rc3/build/src/interface && /usr/bin/c++ -Dxhtmldbginterface_EXPORTS -DQT_DLL -DQT_XML_LIB -DQTIDY_VERSION_STRING=\"0.8.2\" -DQT_DLL -DQT_DLL -DQT_XML_LIB -D_BSD_SOURCE -DQT_NO_EXCEPTIONS -DHAVE_VISIBILITY -DQT_DEBUG -DQT_DEBUG -O2 -Wformat -Woverloaded-virtual -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations -pipe -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_VISIBILITY -fstack-protector -Wstack-protector -D_FORTIFY_SOURCE=2 -fPIE -g -Wall -W -Wextra -Wno-long-long -DXHTMLDBG_DEBUG -DXHTMLDBG_DEBUG_VERBOSE -fopenmp -g -fPIC -I/usr/lib64/qt/include -I/usr/lib64/qt/include/QtWebKit -I/usr/lib64/qt/include/QtDBus -I/usr/lib64/qt/include/QtXml -I/usr/lib64/qt/include/QtNetwork -I/usr/lib64/qt/include/QTidy -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include/QtGui -I/usr/include/tidy -I/tmp/pkg/xhtmldbg-0.8.6.rc3/build/src/interface -I/tmp/pkg/xhtmldbg-0.8.6.rc3/src/interface -o CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugger.cpp.o -c /tmp/pkg/xhtmldbg-0.8.6.rc3/src/interface/xhtmldbgplugger.cpp
Linking CXX shared library ../../app/libxhtmldbg-1.0.so
cd /tmp/pkg/xhtmldbg-0.8.6.rc3/build/src/interface && /usr/bin/cmake -E cmake_link_script CMakeFiles/xhtmldbginterface.dir/link.txt --verbose=1
/usr/bin/c++ -fPIC -O2 -Wformat -Woverloaded-virtual -ffast-math -fstrict-aliasing -finline-functions -fomit-frame-pointer -fexpensive-optimizations -pipe -Wnon-virtual-dtor -Wundef -Wcast-align -Wchar-subscripts -Wpointer-arith -Wformat-security -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DHAVE_VISIBILITY -fstack-protector -Wstack-protector -D_FORTIFY_SOURCE=2 -fPIE -g -Wall -W -Wextra -Wno-long-long -DXHTMLDBG_DEBUG -DXHTMLDBG_DEBUG_VERBOSE -fopenmp -g -shared -Wl,-soname,libxhtmldbg-1.0.so.0 -o ../../app/libxhtmldbg-1.0.so.0.8.6 CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbgplugininfo.cxx.o CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbgplugger.cxx.o CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbginterface.cxx.o CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugininfo.cpp.o CMakeFiles/xhtmldbginterface.dir/xhtmldbgplugger.cpp.o /usr/lib64/qt/lib/libQtCore.so /usr/lib64/qt/lib/libQtGui.so /usr/lib64/qt/lib/libQtXml.so
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: CMakeFiles/xhtmldbginterface.dir/moc_xhtmldbgplugininfo.cxx.o: relocation R_X86_64_PC32 against symbol `xhtmldbg::PluginInfo::staticMetaObject' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/gcc/x86_64-slackware-linux/4.4.4/../../../../x86_64-slackware-linux/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [app/libxhtmldbg-1.0.so.0.8.6] Error 1
make[2]: Leaving directory `/tmp/pkg/xhtmldbg-0.8.6.rc3/build'
make[1]: *** [src/interface/CMakeFiles/xhtmldbginterface.dir/all] Error 2
make[1]: Leaving directory `/tmp/pkg/xhtmldbg-0.8.6.rc3/build'
make: *** [all] Error 2

Report

6 years ago

conraid

in Slackware 13.1rc2 32bit all ok with 0.8.5 version

in 64bit version

[ 83%] Building CXX object src/plugins/xdebugger/CMakeFiles/XDebugger.dir/qbytearrayfifo.cpp.o
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp: In member function ‘const QString QByteArrayFifo::retrieve()’:
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp:39: error: ambiguous overload for ‘operator[]’ in ‘((QByteArrayFifo*)this)->QByteArrayFifo::m_array[cnt]’
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp:39: note: candidates are: operator[](const char*, long int) <built-in>
/usr/lib64/qt/include/QtCore/qbytearray.h:396: note: char QByteArray::operator[](int) const
/usr/lib64/qt/include/QtCore/qbytearray.h:398: note: char QByteArray::operator[](uint) const
/usr/lib64/qt/include/QtCore/qbytearray.h:470: note: QByteRef QByteArray::operator[](int)
/usr/lib64/qt/include/QtCore/qbytearray.h:472: note: QByteRef QByteArray::operator[](uint)
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp:39: error: ambiguous overload for ‘operator[]’ in ‘((QByteArrayFifo*)this)->QByteArrayFifo::m_array[(cnt + size)]’
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp:39: note: candidates are: operator[](const char*, long int) <built-in>
/usr/lib64/qt/include/QtCore/qbytearray.h:396: note: char QByteArray::operator[](int) const
/usr/lib64/qt/include/QtCore/qbytearray.h:398: note: char QByteArray::operator[](uint) const
/usr/lib64/qt/include/QtCore/qbytearray.h:470: note: QByteRef QByteArray::operator[](int)
/usr/lib64/qt/include/QtCore/qbytearray.h:472: note: QByteRef QByteArray::operator[](uint)
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp: In member function ‘bool QByteArrayFifo::append(const char*, size_t)’:
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp:56: error: ambiguous overload for ‘operator[]’ in ‘((QByteArrayFifo*)this)->QByteArrayFifo::m_array[(((QByteArrayFifo*)this)->QByteArrayFifo::m_size + cnt)]’
/tmp/pkg/xhtmldbg-0.8.5/src/plugins/xdebugger/qbytearrayfifo.cpp:56: note: candidates are: operator[](const char*, long int) <built-in>
/usr/lib64/qt/include/QtCore/qbytearray.h:396: note: char QByteArray::operator[](int) const
/usr/lib64/qt/include/QtCore/qbytearray.h:398: note: char QByteArray::operator[](uint) const
/usr/lib64/qt/include/QtCore/qbytearray.h:470: note: QByteRef QByteArray::operator[](int)
/usr/lib64/qt/include/QtCore/qbytearray.h:472: note: QByteRef QByteArray::operator[](uint)
make[2]: *** [src/plugins/xdebugger/CMakeFiles/XDebugger.dir/qbytearrayfifo.cpp.o] Error 1
make[1]: *** [src/plugins/xdebugger/CMakeFiles/XDebugger.dir/all] Error 2
make: *** [all] Error 2

Report

6 years ago

undefined

Disable this Extension it's Beta and for testing only

[code]
--- a/src/plugins/CMakeLists.txt
+++ b/src/plugins/CMakeLists.txt
@@ -6,9 +6,9 @@ IF (BIND_UTIL_DIG)
ENDIF (BIND_UTIL_DIG)

## This Plugins only work with UNIX and glibc >= 2.8
-IF (UNIX AND NOT APPLE)
- ADD_SUBDIRECTORY (xdebugger)
-ENDIF (UNIX AND NOT APPLE)
+# IF (UNIX AND NOT APPLE)
+# ADD_SUBDIRECTORY (xdebugger)
+# ENDIF (UNIX AND NOT APPLE)

ADD_SUBDIRECTORY (template)
[/code]

Report

6 years ago

conraid

ok, thanks
I build package for Slackware 13.1rc2
http://www.slackers.it/repository/xhtmldbg/

Report

6 years ago

conraid

in Slackware 13rc2

[ 79%] Building CXX object src/CMakeFiles/xhtmldbg.dir/zoombar.cpp.o
Linking CXX executable ../app/xhtmldbg
CMakeFiles/xhtmldbg.dir/window.cpp.o: In function `Window::Window(QSettings*)':
window.cpp:(.text+0x993): undefined reference to `xhtmldbgplugger::xhtmldbgplugger(QObject*)'
CMakeFiles/xhtmldbg.dir/window.cpp.o: In function `Window::Window(QSettings*)':
window.cpp:(.text+0x2095): undefined reference to `xhtmldbgplugger::xhtmldbgplugger(QObject*)'
CMakeFiles/xhtmldbg.dir/window.cpp.o: In function `Window::registerPlugins()':
window.cpp:(.text+0x604e): undefined reference to `xhtmldbgplugger::pluginsByType(QWidget*, xhtmldbg::PluginInfo::PluginType)'
window.cpp:(.text+0x60f6): undefined reference to `xhtmldbg::PluginInfo::getGenericName()'
window.cpp:(.text+0x6157): undefined reference to `xhtmldbg::PluginInfo::getName()'
window.cpp:(.text+0x625e): undefined reference to `xhtmldbg::PluginInfo::getDescription()'
window.cpp:(.text+0x6380): undefined reference to `xhtmldbgplugger::pluginsByType(QWidget*, xhtmldbg::PluginInfo::PluginType)'
collect2: ld returned 1 exit status
make[2]: *** [app/xhtmldbg] Error 1
make[1]: *** [src/CMakeFiles/xhtmldbg.dir/all] Error 2
make: *** [all] Error 2

Report

6 years ago

conraid

i'm sorry
with slackware 13.1rc2
with qt4.6

Report

6 years ago

undefined

Hmm... This Error-Messages will only displayed when generated moc_*.cxx Files or Headers missed in Include Paths.
Please check if cmake have set the right include path to <build Directory>/src/interface/ and the Header xhtmldbginterface.h was generated in it.
I Think it is a cmake Generate Makefile Targets Bug
See also XHTMLDBG_INCLUDE_INTERFACE at CmakeLists.txt Files

Report

6 years ago

conraid

in CMakeLists.txt
SET (XHTMLDBG_INCLUDE_INTERFACE
${CMAKE_CURRENT_BINARY_DIR}/src/interface
${CMAKE_CURRENT_SOURCE_DIR}/src/interface
)

# find -name xhtmldbginterface.h
./build/src/interface/xhtmldbginterface.h

what else should I check?

I have a error in ccmake .
CA_BUNDLE_FILE:FILEPATH=CA_BUNDLE_FILE-NOTFOUND


Report

6 years ago

undefined

@CA_BUNDLE_FILE-NOTFOUND You can Ignore this Message - it's Optional

Ok next step:
Please check if build/app Directory contain the libxhtmldbg-1.0.so library.
If exists check with nm (binutils) for Missing Compiler Symbols
Command example:
nm -g -D -C --defined-only build/app/libxhtmldbg-1.0.so | grep -e getName -e pluginsByType
and
ld build/app/libxhtmldbg-1.0.so

Please let me show the generated output from this 2 commands ;)

Report

6 years ago

undefined

i think or to guess where the problem located. gcc >= 4.3* visibility-hidden
I have build a patched version xhtmldbg-0.8.4.p1 with gcc visibility Macros.
Please check this package an let me now if it works ;)
http://gitweb.hjcms.de/cgi-bin/index.cgi/xhtmldbg/

Report

6 years ago

conraid

ok, with p1 not error, but imho there is a error in CMakeLists.txt

CMAKE_INSTALL_PREFIX is /usr/lib/qt also with -DCMAKE_INSTALL_PREFIX:PATH=usr

at line 49 in CMakeLists.txt there is
OUTPUT_VARIABLE CMAKE_INSTALL_PREFIX

with
sed 's/OUTPUT_VARIABLE CMAKE_INSTALL_PREFIX/OUTPUT_VARIABLE QT_INSTALL_PREFIX/' CMakeLists.txt

all ok

i'm sorry for my english

Report

6 years ago

undefined

This Section is optional and removed for the next Version.
Many thanks for your help and feedback
greetings undefined

Report

Supporters

Recent Donations

Be the first to donate
Filename Version Description Filetype Packagetype License Downloads Date Filesize Install
Score 65%
65.00 Likes
35 Dislikes

0 Supporters for xhtmldbg:

Recent Donations:

Be the first to donate
show all
Details
version
0.8.13
updated Apr 18 2011
added Mar 15 2010
downloads
page views 155
support undefined
For The Product
xhtmldbg
5 - 10 - 25 - 50 - 100 - 200 - 500