I have a object called "category", in my view/store/manage.html.erb, I want to do this :
<%=link_to_remote category.name, :url => delete_category_path(category),
:confirm => 'Are you sure?', :method => :delete%>
But it show me the NoMethodError, how can I do that?
This is the error from RoR:
undefined method `delete_categ...
For simple javascript debugging I'll use alerts to show variable values and the like. Is there a way to get the current call stack in javascript to be able to display it in an alert?
Thanks.
...
I'm making a iPhone app written in Objective-C using the Cocos2d game engine. I'm using xCode v3.2.1 with the 3.1.2 iPhone OS. At this point I have always ran my project under Debug Configuration. When I set it to release configuration certain elements of my game are no longer behaving correctly. My logic that worked in the debug configu...
Hi,
Is it possible to debug (with VS 2008) a site at my host? I have no particular control of the server, I'm only allowed to upload my website files to the server. I can however upload .pdb files etc.
The reason for me wanting this is because the site works fine on my dev machine, but refuses to show even the first page when deployed ...
How can I skip common classes in VS 2008 debugger when stepping in?
For example, I do not want debugger to step into any of the std:: classes.
How can I achieve that?
I've found ways of doing this in VS 2005 and earlier, but not 2008
...
Hi,
I'm thinking about how to find from where any function was called. The problem is that I need to find where the PHP is calling mail() function. One way will be to use register_tick_function(), but I'll need to open each file and check what is on each line. The project is huge, it will take really long to parse each file in PHP. Any ...
Hi,
I've written application in Delphi 2007, which some times hangs (not even every week, application is running 24/7). It looks like main thread gets stuck. What are the options to pinpoint the cause for this problem?
Application is written in Delphi 2007, it uses RemObjects, DBExpress with Firebird, OPC communication using COM.
...
Hi,
I try to debug a COM dll (TAutoObject) in Delphi and my break point are not green.
I put my option like this :
host : c:\Program Files\Internet
Explorer\iexplore.exe
param : c:\software\test.html
My test is well lanched but no breakpoint in Delphi
what is the way to to this ?
...
This is really strange and I can't seem to figure out why it won't work.
I have a C# dll that is a add on for another program, the main program is not mine or a .Net app so I am starting it with Start external program in the debugging tab and and passing my program as a command line and the program starts and loads my add on however my ...
I am looking for tips on how to aid my debugging by adding code to my application. An example so that it becomes more clear what I'm after: in order to detect dangling objects held by shared_ptrs I have created a tracker class that allows me to keep track of how many objects are alive and where they where originally created, which is the...
Guys, has anyone been able to remotely debug a PHP Web page that uses Ajax extensively? (I'm using Zend Debugger, by the way.) When I debug, the parts of the page that are queried through Ajax HTTP GET are not shown. Is any way fix this?
...
Hello,
I am using NetBeans 6.8 on Redhat Linux. Does anyone know how to configure NetBeans to debug (step into) libraries not compiled with NetBeans? In my particular case, I'm trying to debug the VTK library which is built using cmake with the Debug flag set. I've written a C++ application that uses the shared libraries from VTK. A...
Hi all.
Is it possible to debug PHP projects on Glashfish with NetBeans 6.8 without installing Apache server?
After I press CTRL+F5 im getting 404 not found error.
As ASP.NET developer I have (I think) similiar developer server bundled with Visual Studio, so there is no need to install any other server like IIS. Am I right that Glassfi...
How to find which dynamic libs .so are loaded currently by a process, also those dll are dynamically loaded with dllopen.
I want to debug a process to find out which libs its using currently.
...
I'm trying to debug javacript code in my aspx page, I insert a breakpoint, and press F5 for debugging, but there is no dynamic page created in script documents.
Why the asp.net development server not create the dynamic page? any ideas?
...
Whenever I try to debug my project in Netbeans 6.8 C++ IDE with cygwin on windows, it gives me the message window "Application crashed".(Netbeans IDE does not crash but only my program)There is no problem while running only, but while debugging, it crashes. Please help
...
During beta testing, sometimes our end-users unfortunately encounter a bug. This inevitably leads to a bug report, where the Joel on Software article Painless Bug Tracking suggests:
Every good bug report needs exactly
three things.
Steps to reproduce,
What you expected to see, and
What you saw instead.
This is usua...
Hello,
The title is just for teasing. :-)
I know it isn't possible, but here is my problem.
My app (a DLL, actually) uses Boost. It also uses an external API, which also uses Boost.
The external API is of course provided in a release binary, anlong the needed release Boost binaries.
When I compile/link my DLL in release mode, I have n...
Dear ladies and sirs.
We have Hudson CI server which uses msbuild to build our C# code. Does anyone who uses Hudson CI server also has the symbol server (symsrv.dll) configured?
I would like to understand what is the best way of combining the two.
Thanks.
P.S.
Apparently, ServerFault is not the right place for this question.
...
I'm creating a Twitter application, and every time user updates the page it reloads the newest messages from Twitter and saves them to local database, unless they have already been created before. This works well in development environment (database: sqlite3), but in production environment (mysql) it always creates messages again, even t...